[llvm] [InstCombine] Optimize 'xor-and/or-select' sequence to 'or' for bool (PR #66394)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 22:56:44 PDT 2023


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

Hasn't this already been implemented in https://reviews.llvm.org/D158983?

Please split test additions into a separate commit so the actual impact of the change can be seen. If the only benefit of the additional transform is replacing a logical or with a bitwise or, then I don't think this is needed.

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


More information about the llvm-commits mailing list