[FPEnv][AArch64] Add lowering and instruction selection for strict conversions
authorJohn Brawn <john.brawn@arm.com>
Mon, 27 Jan 2020 15:51:06 +0000 (15:51 +0000)
committerJohn Brawn <john.brawn@arm.com>
Thu, 30 Jan 2020 13:50:06 +0000 (13:50 +0000)
commit0bb9a27c9895c0fbc3f55f56ad7f1e1927398fce
treec579783a4fd264a7f33e62f1f43299f238e70300
parentea956685a1974d2ba75dbb5102a8a871b605751b
[FPEnv][AArch64] Add lowering and instruction selection for strict conversions

Strict fp-to-int and int-to-fp conversions can be handled in the same way that
the non-strict versions are (by using the appropriate instruction or converting
to a function call when we have no instruction).

Differential Revision: https://reviews.llvm.org/D73625
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/fp-intrinsics.ll
llvm/test/CodeGen/AArch64/fpconv-vector-op-scalarize-strict.ll