[PATCH] D89489: [InterleaveAccess] Recognize Interleave loads through binary operations

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 12:02:19 PDT 2020


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

Instcombine will currently sink identical shuffles though vector binary operations. This is probably generally useful,  but can break up the code pattern we use to represent an interleaving load group.  This patch reverses that in the InterleaveAccessPass to re-recognise the pattern of shuffles sunk past binary operations and folds them back if an interleave group can be created.


https://reviews.llvm.org/D89489

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: D89489.298427.patch
Type: text/x-patch
Size: 18378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/2246610b/attachment.bin>


More information about the llvm-commits mailing list