llvm-project
55c76a43 - [AggressiveInstCombine] trunc to i1 in any or all bits set check (#184246)

Commit
8 days ago
[AggressiveInstCombine] trunc to i1 in any or all bits set check (#184246) trunc (or (lshr X, C), ...)) to i1 --> (X & CMask) != 0 trunc (and (lshr X, C), ...)) to i1 --> (X & CMask) == CMask Regression noticed in https://github.com/llvm/llvm-project/pull/184182 Proof: https://alive2.llvm.org/ce/z/8QXWrq
Author
Parents
Loading