[PATCH] D129419: [InterleaveAccessPass] Handle multi-use binop shuffles

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 9 04:01:48 PDT 2022


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, spatel, sanwou01.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

D89489 <https://reviews.llvm.org/D89489> added some logic to the interleaved access pass to attempt to undo the folding of shuffles into binops, that instcombine performs. If early-cse is run too, the binops may be commoned into a single operation with multiple shuffle uses. It is still profitable reverse the transform though, so long as all the uses are shuffles.


https://reviews.llvm.org/D129419

Files:
  llvm/lib/CodeGen/InterleavedAccessPass.cpp
  llvm/test/CodeGen/AArch64/vldn_shuffle.ll
  llvm/test/CodeGen/Thumb2/mve-vldshuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129419.443425.patch
Type: text/x-patch
Size: 7151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220709/eeaa6761/attachment.bin>


More information about the llvm-commits mailing list