[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:39 PST 2026


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

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

```suggestion
    Value *NotC = Builder.CreateNot(AddC);
```
To save us some work when this method is removed...

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


More information about the llvm-commits mailing list