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