[PATCH] D133328: [InstCombine] Fold icmp x, ~x and icmp ~x, x by testing the sign
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 07:54:56 PDT 2022
spatel added a comment.
The predicate check is too restrictive. We can handle unsigned preds too:
https://alive2.llvm.org/ce/z/s38fNL
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133328/new/
https://reviews.llvm.org/D133328
More information about the llvm-commits
mailing list