[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:

```suggestion
define i32 @add_and_xor_formula_basic(i32 %x, i32 %M) {
```

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


More information about the llvm-commits mailing list