[llvm] [KnownBits][APInt] Optimize isConstant (NFC) (PR #191919)

Max Graey via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 14:33:57 PDT 2026


MaxGraey wrote:

If we implement per-word `x == ~y`, we need to make sure to mask (exclude) the most significant cleared bits from most significant (or single) word. I'm afraid this won't be much more efficient than before.

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


More information about the llvm-commits mailing list