[PATCH] D55863: [GlobalISel][AArch64] Add support for @llvm.ceil
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 16:04:03 PST 2018
paquette created this revision.
paquette added reviewers: aemerson, aditya_nandakumar.
Herald added subscribers: kristof.beyls, javed.absar, rovka.
This adds a G_FCEIL generic instruction and uses it in AArch64. This adds selection for floating point ceil where it has a dedicated instruction. Other cases aren't handled yet for the sake of simplicity.
It updates the relevant gisel tests and adds a select-ceil test. It also adds a check to arm64-vcvt.ll which ensures that we don't fall back when we run into one of the relevant cases.
https://reviews.llvm.org/D55863
Files:
include/llvm/Support/TargetOpcodes.def
include/llvm/Target/GenericOpcodes.td
include/llvm/Target/GlobalISel/SelectionDAGCompat.td
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
test/CodeGen/AArch64/GlobalISel/select-ceil.mir
test/CodeGen/AArch64/arm64-vcvt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55863.178809.patch
Type: text/x-patch
Size: 8854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/2db6b04e/attachment.bin>
More information about the llvm-commits
mailing list