[llvm] [X86] Remove redundant and-not pattern code in X86 (PR #157687)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 09:11:15 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
----------------
topperc wrote:

Is this a code size regression? I can't remember if `notb` is shorter than `xorb`

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


More information about the llvm-commits mailing list