[llvm] [InstCombine] Fold (trunc X to i1) & !iszero(X & Pow2)) -> (X & (1 | Pow2)) == (1 | Pow2) (PR #119196)
Andreas Jonson via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 12:21:11 PST 2024
andjo403 wrote:
> Can you adjust `foldLogOpOfMaskedICmps` to convert `trunc X to i1` back into `(X & 1) != 0`?
I do not know what you mean by this?
https://github.com/llvm/llvm-project/pull/119196
More information about the llvm-commits
mailing list