[PATCH] D112920: [ARM] Push gather/scatter shl index updates out of loops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 04:04:53 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: samtebbs, anwel.
Herald added subscribers: arphaman, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This teaches the MVE gather scatter lowing pass that SHL is essentially the same as Mul, where we are able to optimize the induction of a gather/scatter address to push them out of loops.
https://alive2.llvm.org/ce/z/wG4VyT


https://reviews.llvm.org/D112920

Files:
  llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
  llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
  llvm/test/CodeGen/Thumb2/mve-scatter-increment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112920.383761.patch
Type: text/x-patch
Size: 7570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/2a9232f1/attachment.bin>


More information about the llvm-commits mailing list