[PATCH] D118431: [InstCombine] Generalize and-reduce pattern to handle `ne` case as well as `eq`

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 00:38:41 PST 2022


lebedev.ri added a comment.

In D118431#3278342 <https://reviews.llvm.org/D118431#3278342>, @mkazantsev wrote:

> Sanity check: https://alive2.llvm.org/ce/z/rDeaif

That's a yet another pattern (`(x == y) != -1  -->  x != y`), while here you have `(x != y) != 0  -->  x != y`,
i.e. https://alive2.llvm.org/ce/z/WDcuJ_


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

https://reviews.llvm.org/D118431



More information about the llvm-commits mailing list