[llvm] [InstCombine] Fold xor of bittests into bittest of xor'd value (PR #125676)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 13:30:36 PST 2025


dtcxzyw wrote:

> is there a benefit to handle the `trunc to i1` or other bittest patterns?

`trunc to i1`: https://godbolt.org/z/3r93zKvbr
Xor of sign bit tests has been handled by the logic above.


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


More information about the llvm-commits mailing list