[PATCH] D63839: [ARM] Widening loads and narrowing stores

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 13:23:10 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.

MVE has instructions to widen as it loads, and narrow as it stores. This adds the required patterns and legalisation to make them work.

Patch by David Sherwood.


https://reviews.llvm.org/D63839

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  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-shuffle.ll
  llvm/test/CodeGen/Thumb2/mve-widen-narrow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63839.206734.patch
Type: text/x-patch
Size: 83278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/826487bd/attachment.bin>


More information about the llvm-commits mailing list