[PATCH] D62539: [AArch64][GlobalISel] Select FCMPSri/FCMPDri when comparing against 0.0
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 11:26:21 PDT 2019
paquette created this revision.
paquette added a reviewer: aemerson.
Herald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls, javed.absar, rovka.
Herald added a project: LLVM.
Add support for selecting FCMPSri and FCMPDri when comparing against 0.0, and factor out opcode selection for G_FCMP into its own function.
Add a test to show that we don't do this with other immediates.
https://reviews.llvm.org/D62539
Files:
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-fcmp.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62539.201729.patch
Type: text/x-patch
Size: 4939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190528/134818c3/attachment.bin>
More information about the llvm-commits
mailing list