[PATCH] D81340: [ARM] Split FPExt loads

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 04:45:22 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samparker, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This extends PerformSplittingToWideningLoad to also handle FP_Ext, as well as sign and zero extends. It uses an integer extending load followed by a VCVTL on the bottom lanes to efficiently perform an fpext on a smaller than legal type.

The existing code had to be rewritten a little to not just split the node in two and let legalization handle it from there, but to actually split into legal chunks.


https://reviews.llvm.org/D81340

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-fp16convertloops.ll
  llvm/test/CodeGen/Thumb2/mve-vcvt16.ll
  llvm/test/CodeGen/Thumb2/mve-widen-narrow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81340.269045.patch
Type: text/x-patch
Size: 21537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200607/ce6f78cf/attachment.bin>


More information about the llvm-commits mailing list