[PATCH] D96065: [ARM] Single source VMOVNT

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 11:08:35 PST 2021


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

Our current lowering of VMOVNT goes via a shuffle vector of the form <0, N, 2, N+2, 4, N+4, ..>. That can of course also be a single input shuffle of the form <0, 0, 2, 2, 4, 4, ..>, where we use a VMOVNT to insert a vector into the top lanes of itself. This adds lowering of that case, re-using the existing isVMOVNMask.


https://reviews.llvm.org/D96065

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-vmovn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96065.321518.patch
Type: text/x-patch
Size: 9081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/81f0b721/attachment.bin>


More information about the llvm-commits mailing list