[PATCH] D118843: [x86] avoid false dependency stall on 'sbb' with same source reg

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 13:10:48 PST 2022


spatel added inline comments.


================
Comment at: llvm/test/CodeGen/X86/sbb-false-dep.ll:30
 ; CHECK-NEXT:    negl %ecx
-; CHECK-NEXT:    sbbq %rbp, %rbp
-; CHECK-NEXT:    orq %rdx, %rbp
-; CHECK-NEXT:    cmpl $1, %r13d
+; CHECK-NEXT:    movl $0, %eax
 ; CHECK-NEXT:    sbbq %rax, %rax
----------------
I'm not sure why this is a `mov $0`, but it is the same as with D116804 reverted.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118843/new/

https://reviews.llvm.org/D118843



More information about the llvm-commits mailing list