[PATCH] D108660: [AArch64][GlobalISel] Legalize narrow scalar FP arithmetic

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 24 13:28:19 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.

Widen narrow fp arithmetic ops (e.g. G_FADD). When we don't have full FP16 support, widen to s32. Otherwise widen to s16.


https://reviews.llvm.org/D108660

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-fp-arith-fp16.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108660.368447.patch
Type: text/x-patch
Size: 5821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210824/56eede69/attachment.bin>


More information about the llvm-commits mailing list