[llvm] [InstCombine] Use known bits to simplify mask in foldSelectICmpAnd (PR #128741)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 7 23:22:12 PST 2025


https://github.com/dtcxzyw commented:

Can you add some negative tests (e.g., `AndMask & MaxValueOfX` is not a power of 2)?


https://github.com/llvm/llvm-project/pull/128741


More information about the llvm-commits mailing list