[llvm] [InstCombine] Fold ((X + AddC) & Mask) ^ Mask to (~AddC - X) & Mask (PR #174278)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 12 01:05:40 PST 2026


================

----------------
nikic wrote:

Could you please also add a test with constant mask where the mask is not a low bit mask?

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


More information about the llvm-commits mailing list