diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/cmov-into-branch.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/cmov-into-branch.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/cmov-into-branch.ll b/llvm/test/CodeGen/X86/cmov-into-branch.ll index acb5a2bb51f..c0c6fc4ac22 100644 --- a/llvm/test/CodeGen/X86/cmov-into-branch.ll +++ b/llvm/test/CodeGen/X86/cmov-into-branch.ll @@ -103,11 +103,11 @@ define i32 @weighted_select3(i32 %a, i32 %b) { ; CHECK-LABEL: weighted_select3: ; CHECK: # BB#0: ; CHECK-NEXT: testl %edi, %edi -; CHECK-NEXT: jne [[LABEL_BB6:.*]] -; CHECK: movl %esi, %edi -; CHECK-NEXT: [[LABEL_BB6]] -; CHECK-NEXT: movl %edi, %eax -; CHECK-NEXT: retq +; CHECK-NEXT: je [[LABEL_BB6:.*]] +; CHECK: movl %edi, %eax +; CHECK: [[LABEL_BB6]] +; CHECK-NEXT: movl %esi, %edi +; CHECK-NEXT: jmp ; %cmp = icmp ne i32 %a, 0 %sel = select i1 %cmp, i32 %a, i32 %b, !prof !2 |

