summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/cmov-into-branch.ll
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-10-11 07:36:11 +0000
committerDaniel Jasper <djasper@google.com>2016-10-11 07:36:11 +0000
commit0c42dc4784c77adf363995fe3962cbd2da2ac4d0 (patch)
treec7deba39d818d7e8228f3cfd6b5ca59c31f7b41f /llvm/test/CodeGen/X86/cmov-into-branch.ll
parent0df59d8c029db83a6ca7de2186fcd556c7d7ab29 (diff)
downloadbcm5719-llvm-0c42dc4784c77adf363995fe3962cbd2da2ac4d0.tar.gz
bcm5719-llvm-0c42dc4784c77adf363995fe3962cbd2da2ac4d0.zip
Revert "Codegen: Tail-duplicate during placement."
This reverts commit r283842. test/CodeGen/X86/tail-dup-repeat.ll causes and llc crash with our internal testing. I'll share a link with you. llvm-svn: 283857
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