summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/cmov-into-branch.ll
diff options
context:
space:
mode:
authorKyle Butt <kyle+llvm@iteratee.net>2016-10-08 01:47:05 +0000
committerKyle Butt <kyle+llvm@iteratee.net>2016-10-08 01:47:05 +0000
commit2facd194a22efd8b0cf4734ab0a79caed265d58c (patch)
treeca5173ece231a60b5aaa89d1649445c1e28387fc /llvm/test/CodeGen/X86/cmov-into-branch.ll
parent5bf825b7642ded88574a16e08596e1babb7272ca (diff)
downloadbcm5719-llvm-2facd194a22efd8b0cf4734ab0a79caed265d58c.tar.gz
bcm5719-llvm-2facd194a22efd8b0cf4734ab0a79caed265d58c.zip
Revert "Codegen: Tail-duplicate during placement."
This reverts commit 71c312652c10f1855b28d06697c08d47e7a243e4. llvm-svn: 283647
Diffstat (limited to 'llvm/test/CodeGen/X86/cmov-into-branch.ll')
-rw-r--r--llvm/test/CodeGen/X86/cmov-into-branch.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/cmov-into-branch.ll b/llvm/test/CodeGen/X86/cmov-into-branch.ll
index 6e4762b2e79..c0c6fc4ac22 100644
--- a/llvm/test/CodeGen/X86/cmov-into-branch.ll
+++ b/llvm/test/CodeGen/X86/cmov-into-branch.ll
@@ -105,11 +105,9 @@ define i32 @weighted_select3(i32 %a, i32 %b) {
; CHECK-NEXT: testl %edi, %edi
; CHECK-NEXT: je [[LABEL_BB6:.*]]
; CHECK: movl %edi, %eax
-; CHECK-NEXT: retq
; CHECK: [[LABEL_BB6]]
; CHECK-NEXT: movl %esi, %edi
-; CHECK-NEXT: movl %edi, %eax
-; CHECK-NEXT: retq
+; CHECK-NEXT: jmp
;
%cmp = icmp ne i32 %a, 0
%sel = select i1 %cmp, i32 %a, i32 %b, !prof !2
OpenPOWER on IntegriCloud