Add lowering of STRICT_FSETCC and STRICT_FSETCCS
authorJohn Brawn <john.brawn@arm.com>
Fri, 24 Jan 2020 15:47:51 +0000 (15:47 +0000)
committerJohn Brawn <john.brawn@arm.com>
Thu, 30 Jan 2020 10:40:55 +0000 (10:40 +0000)
commit2224407ef5baf6100fa22420feb4d25af1a9493f
tree2779d54047324a2f5395f5712e824a1a74a0d0aa
parent9b71ec899a1554210ec66756681c047a52866d39
Add lowering of STRICT_FSETCC and STRICT_FSETCCS

These become STRICT_FCMP and STRICT_FCMPE, which then get selected to the
corresponding FCMP and FCMPE instructions, though the handling from there on
isn't fully correct as we don't model reads and writes to FPCR and FPSR.

Differential Revision: https://reviews.llvm.org/D73368
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/fp-intrinsics.ll [new file with mode: 0644]