[PATCH] D109808: [InstCombine] Eliminate vector reverse if all inputs/outputs to an instruction are reverses

Usman Nadeem via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 17 16:03:28 PDT 2021


mnadeem updated this revision to Diff 373359.
mnadeem added a comment.

Address comments, handle cases where either side of the binary op is a splat and the other is a reverse.


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

https://reviews.llvm.org/D109808

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/vector-reverse.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-vector-reverse-mask4.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-vector-reverse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109808.373359.patch
Type: text/x-patch
Size: 12600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210917/46ce2cf9/attachment.bin>


More information about the llvm-commits mailing list