[PATCH] D112922: [ARM] Treat MVE gather add-like-or's like adds

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


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

LLVM has the habit of turning adds with no common bits set into ors, which means we need to detect them and treat them like adds again in the MVE gather/scatter lowering pass.


https://reviews.llvm.org/D112922

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: D112922.383772.patch
Type: text/x-patch
Size: 13755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/1b8c8ccb/attachment.bin>


More information about the llvm-commits mailing list