[PATCH] D96153: [ARM] Make v2f62 scalar_to_vector legal

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 09:32:27 PST 2021


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

Because we mark all operations as expand for v2f64, scalar_to_vector would end up lowering through a stack store/reload. But it is pretty simple to implement, only inserting a D reg into an undef vector. This helps clear up some inefficient codegen from soft calling conventions.


https://reviews.llvm.org/D96153

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-extractstore.ll
  llvm/test/CodeGen/Thumb2/mve-shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96153.321802.patch
Type: text/x-patch
Size: 4819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/e487c8ed/attachment.bin>


More information about the llvm-commits mailing list