[PATCH] D118317: [InstCombine] Fold and-reduce idiom

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 10:21:22 PST 2022


mkazantsev updated this revision to Diff 403719.
mkazantsev added a comment.

NFC: replaced `m_Constant` with `m_Zero` as it seems that it'll be enough for all planned patterns.


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

https://reviews.llvm.org/D118317

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-vec.ll
  llvm/test/Transforms/InstCombine/reduction-and-sext-zext-i1.ll
  llvm/test/Transforms/InstCombine/reduction-or-sext-zext-i1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118317.403719.patch
Type: text/x-patch
Size: 6223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/d4db527b/attachment.bin>


More information about the llvm-commits mailing list