[PATCH] D108957: [AArch64][GlobalISel] Select full-fp16 s16 G_FCONSTANT as a constant pool load
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 30 16:42:08 PDT 2021
paquette created this revision.
paquette added reviewers: aemerson, jroelofs.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.
When we have full-fp16 support, we should (manually select) s16 G_FCONSTANT to a constant pool load.
Add support for that to `emitLoadFromConstantPool` + the existing constant selection code.
Also tidy up the constant selection code a little. There were some out-of-date comments + some dead code.
https://reviews.llvm.org/D108957
Files:
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-fp16-fconstant.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108957.369579.patch
Type: text/x-patch
Size: 4836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210830/5db2529f/attachment.bin>
More information about the llvm-commits
mailing list