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

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 30 01:06:18 PST 2026


antoniofrighetto wrote:

> @antoniofrighetto I identified the cause of the issue and confirmed adding nsw to another path. Should I fix this together in this PR?

If you deem the root cause to be independent of this PR, feel free to open a new one.

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


More information about the llvm-commits mailing list