[llvm] [InstCombineSimplifyDemanded] Fold xor into or based on a condition (PR #151870)
Panagiotis Karouzakis via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 3 10:39:53 PDT 2025
karouzakisp wrote:
> 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.
This patch was part of a bigger change. When I split the changes into multiple patches, I didn't verify if any transformation occurred on every patch. Seems that the current implementation takes into account every case. I am closing this PR.
https://github.com/llvm/llvm-project/pull/151870
More information about the llvm-commits
mailing list