[FPEnv][AArch64] Add lowering and instruction selection for STRICT_FP_ROUND
authorJohn Brawn <john.brawn@arm.com>
Tue, 21 Jan 2020 17:18:18 +0000 (17:18 +0000)
committerJohn Brawn <john.brawn@arm.com>
Thu, 30 Jan 2020 12:51:25 +0000 (12:51 +0000)
commit258d8dd76afd88a12539b182a53ff21dcba16a2d
treef2f61ea1895c055bafdb106be23a281e2ae3e881
parent727ed11b24c08c84a608886a1716b81c93640d80
[FPEnv][AArch64] Add lowering and instruction selection for STRICT_FP_ROUND

This gets selected to the appropriate fcvt instruction. Handling from there on
isn't fully correct yet, as we need to model fcvt reading and writing to fpsr
and fpcr.

Differential Revision: https://reviews.llvm.org/D73201
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/test/CodeGen/AArch64/fp-intrinsics.ll