[llvm] [InstCombine] Fold ((X + AddC) & Mask) ^ Mask to ((Mask - AddC) - X) & Mask (PR #174278)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 11 06:10:22 PST 2026
ParkHanbum wrote:
Thanks! I assumed this equivalence only held true for standard bitmasks (2n−1). I see now that it works generally for the demanded bits. I'll update it.
https://github.com/llvm/llvm-project/pull/174278
More information about the llvm-commits
mailing list