[llvm] [InstCombine] Fold (A & ~B) | (A ^ B) -> A ^ B (PR #171047)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 7 09:57:48 PST 2025


https://github.com/nikic requested changes to this pull request.

Please see https://llvm.org/docs/InstCombineContributorGuide.html#precommit-tests.

All of your tests already fold without your patch: https://llvm.godbolt.org/z/ffs3MYGGT

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


More information about the llvm-commits mailing list