[PATCH] D63840: [ARM] Add support for MVE pre and post inc loads and stores.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 13:35:20 PDT 2019


dmgreen created this revision.
dmgreen added reviewers: t.p.northover, simon_tatham, SjoerdMeijer, samparker, ostannard.
Herald added subscribers: hiraditya, kristof.beyls, javed.absar.
Herald added a project: LLVM.

This adds pre- and post- increment and decrements for MVE loads and stores. It uses the builtin pre and post load/store detection, unlike Neon. Loads are selected with the code in tryT2IndexedLoad, stores are selected with tablegen patterns. The immediates have a +/-7bit range, multiplied by the size of the element.


https://reviews.llvm.org/D63840

Files:
  llvm/include/llvm/Target/TargetSelectionDAG.td
  llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-ldst-offset.ll
  llvm/test/CodeGen/Thumb2/mve-ldst-postinc.ll
  llvm/test/CodeGen/Thumb2/mve-ldst-preinc.ll
  llvm/test/CodeGen/Thumb2/mve-ldst-regimm.ll
  llvm/test/CodeGen/Thumb2/mve-loadstore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63840.206735.patch
Type: text/x-patch
Size: 52340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/3dfe7004/attachment-0001.bin>


More information about the llvm-commits mailing list