Skip to content

[InstCombine] Fold (trunc X to i1) & !iszero(X & Pow2)) -> (X & (1 | Pow2)) == (1 | Pow2)#119196

Closed
andjo403 wants to merge 4 commits intollvm:mainfrom
andjo403:foldAndOrOfTruncICmpOfAndWithPow2
Closed

[InstCombine] Fold (trunc X to i1) & !iszero(X & Pow2)) -> (X & (1 | Pow2)) == (1 | Pow2)#119196
andjo403 wants to merge 4 commits intollvm:mainfrom
andjo403:foldAndOrOfTruncICmpOfAndWithPow2

Commits