[PATCH] D151029: [DAG] Combine insert(shuffle(load), load, 0) into a single load

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 00:36:57 PDT 2023


dmgreen updated this revision to Diff 524178.
dmgreen added a comment.

Thanks for taking a look. Update to use areNonVolatileConsecutiveLoads. areNonVolatileConsecutiveLoads will check the size of Base is Bytes, so this passes -1 for the Dist.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151029/new/

https://reviews.llvm.org/D151029

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/insertshuffleload.ll
  llvm/test/CodeGen/Thumb2/mve-insertshuffleload.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151029.524178.patch
Type: text/x-patch
Size: 29847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/4e3a20d0/attachment.bin>


More information about the llvm-commits mailing list