[llvm] [X86] Remove redundant and-not pattern code in X86 (PR #157687)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 10 09:53:28 PDT 2025
================
@@ -155,10 +155,10 @@ B:
define i32 @test10(i64 %b, i64 %c, i1 %d) {
; ALL-LABEL: test10:
; ALL: ## %bb.0:
+; ALL-NEXT: xorb $1, %dl
----------------
AZero13 wrote:
I think this is just a problem of the backend not choosing not over xor 1 when none of the bits are demanded anyway:
https://github.com/llvm/llvm-project/pull/157687
More information about the llvm-commits
mailing list