[PATCH] D63838: [ARM] MVE loads and stores

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


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

This fills in the gaps for basic MVE loads and stores, allowing unaligned access and adding far too many tests. These will become important as narrowing/expanding and pre/post inc are added. Big endian might still not be handled very will, because we have not yet added bitcasts (and I'm not sure how we want it to work yet). I've included the alignment code anyway which maps with our current patterns. We plan to return to that later.

Code written by Simon Tatham.


https://reviews.llvm.org/D63838

Files:
  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: D63838.206730.patch
Type: text/x-patch
Size: 158924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/3525b63c/attachment.bin>


More information about the llvm-commits mailing list