[llvm] [InstCombineSimplifyDemanded] Fold xor into or based on a condition (PR #151870)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 3 09:19:16 PDT 2025


https://github.com/dtcxzyw commented:

I don't mean to reject this patch. It may be valuable as it also takes the demanded bits into account.

Please pre-commit your regression tests. Then we can see the IR diff made by your change. See also https://llvm.org/docs/InstCombineContributorGuide.html#precommit-tests.


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


More information about the llvm-commits mailing list