[PATCH] D101096: [ARM] Transfer memory operands for VLDn

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 11:34:59 PDT 2021


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

We create MMO's for the VLDn/VSTn intrinsics in ARMTargetLowering::getTgtMemIntrinsic, but they do not make it through to the instructions. This changes that in the various places it needs changing, allowing the MMO to propagate through to the final instruction. This can help in scheduling, not treating the VLD2/VST2 as a scheduling barrier.


https://reviews.llvm.org/D101096

Files:
  llvm/include/llvm/IR/IntrinsicsARM.td
  llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-multivec-spill.ll
  llvm/test/CodeGen/Thumb2/mve-vld2.ll
  llvm/test/CodeGen/Thumb2/mve-vld4.ll
  llvm/test/CodeGen/Thumb2/mve-vst2.ll
  llvm/test/CodeGen/Thumb2/mve-vst4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101096.339736.patch
Type: text/x-patch
Size: 12757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/d866e540/attachment-0001.bin>


More information about the llvm-commits mailing list