diff options
author | Daniel Jasper <djasper@google.com> | 2016-10-11 07:36:11 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-10-11 07:36:11 +0000 |
commit | 0c42dc4784c77adf363995fe3962cbd2da2ac4d0 (patch) | |
tree | c7deba39d818d7e8228f3cfd6b5ca59c31f7b41f /llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll | |
parent | 0df59d8c029db83a6ca7de2186fcd556c7d7ab29 (diff) | |
download | bcm5719-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/PowerPC/tail-dup-branch-to-fallthrough.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll b/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll deleted file mode 100644 index 5d03af801fc..00000000000 --- a/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll +++ /dev/null @@ -1,65 +0,0 @@ -; RUN: llc -O2 %s -o - | FileCheck %s -target datalayout = "E-m:e-i64:64-n32:64" -target triple = "powerpc64-unknown-linux-gnu" - -; Function Attrs: nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) #0 - -declare void @f1() -declare void @f2() -declare void @f3() -declare void @f4() - -; Function Attrs: nounwind -; CHECK-LABEL: tail_dup_fallthrough_with_branch -; CHECK: # %entry -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %entry -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %sw.0 -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %sw.1 -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %sw.default -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %if.then -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: # %if.else -; CHECK-NOT: # %{{[-_a-zA-Z0-9]+}} -; CHECK: .Lfunc_end0 -define fastcc void @tail_dup_fallthrough_with_branch(i32 %a, i1 %b) unnamed_addr #0 { -entry: - switch i32 %a, label %sw.default [ - i32 0, label %sw.0 - i32 1, label %sw.1 - ] - -sw.0: ; preds = %entry - call void @f1() #0 - br label %dup1 - -sw.1: ; preds = %entry - call void @f2() #0 - br label %dup1 - -sw.default: ; preds = %entry - br i1 %b, label %if.then, label %if.else - -if.then: ; preds = %sw.default - call void @f3() #0 - br label %dup2 - -if.else: ; preds = %sw.default - call void @f4() #0 - br label %dup2 - -dup1: ; preds = %sw.0, %sw.1 - call void @llvm.lifetime.end(i64 8, i8* nonnull undef) #0 - unreachable - -dup2: ; preds = %if.then, %if.else - call void @llvm.lifetime.end(i64 8, i8* nonnull undef) #0 - unreachable -} - -attributes #0 = { nounwind } |