summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/pr15705.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/pr15705.ll')
-rw-r--r--llvm/test/CodeGen/X86/pr15705.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/pr15705.ll b/llvm/test/CodeGen/X86/pr15705.ll
index d70895bac98..0c72359b743 100644
--- a/llvm/test/CodeGen/X86/pr15705.ll
+++ b/llvm/test/CodeGen/X86/pr15705.ll
@@ -22,14 +22,14 @@ define i32 @PR15705(i32 %x, i32 %a, i32 %b, i32 %c) #0 {
;
; X64-LABEL: PR15705:
; X64: # %bb.0: # %entry
+; X64-NEXT: movl %edx, %eax
; X64-NEXT: cmpl %esi, %edi
; X64-NEXT: je .LBB0_2
; X64-NEXT: # %bb.1: # %if.end
-; X64-NEXT: cmpl %edx, %edi
+; X64-NEXT: cmpl %eax, %edi
; X64-NEXT: cmovel %ecx, %esi
-; X64-NEXT: movl %esi, %edx
+; X64-NEXT: movl %esi, %eax
; X64-NEXT: .LBB0_2: # %return
-; X64-NEXT: movl %edx, %eax
; X64-NEXT: retq
entry:
%cmp = icmp eq i32 %x, %a
OpenPOWER on IntegriCloud