summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/cmov.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/cmov.ll')
-rw-r--r--llvm/test/CodeGen/X86/cmov.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/cmov.ll b/llvm/test/CodeGen/X86/cmov.ll
index 859078a1f72..fb921ee7c27 100644
--- a/llvm/test/CodeGen/X86/cmov.ll
+++ b/llvm/test/CodeGen/X86/cmov.ll
@@ -79,9 +79,8 @@ define i1 @test4() nounwind {
; CHECK-LABEL: test4:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: movsbl {{.*}}(%rip), %edx
-; CHECK-NEXT: movl %edx, %eax
-; CHECK-NEXT: shrb $7, %al
-; CHECK-NEXT: movzbl %al, %ecx
+; CHECK-NEXT: movzbl %dl, %ecx
+; CHECK-NEXT: shrl $7, %ecx
; CHECK-NEXT: xorl $1, %ecx
; CHECK-NEXT: # kill: def $cl killed $cl killed $ecx
; CHECK-NEXT: sarl %cl, %edx
OpenPOWER on IntegriCloud