summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-06-29 16:22:11 +0000
committerChad Rosier <mcrosier@apple.com>2011-06-29 16:22:11 +0000
commit96ed721d9bcec1a80370feec3a77e3313d7df047 (patch)
tree3de54358b1933b043ad85982ae882e4b5bd0e171 /llvm/test
parent1957a2feb5c26f865173cb166f6344ca195cd151 (diff)
downloadbcm5719-llvm-96ed721d9bcec1a80370feec3a77e3313d7df047.tar.gz
bcm5719-llvm-96ed721d9bcec1a80370feec3a77e3313d7df047.zip
Temporarily revert r134057: "Let simplify cfg simplify bb with only debug and
lifetime intrinsics" due to buildbot failures. llvm-svn: 134071
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/SimplifyCFG/lifetime.ll29
1 files changed, 0 insertions, 29 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/lifetime.ll b/llvm/test/Transforms/SimplifyCFG/lifetime.ll
deleted file mode 100644
index b7942217253..00000000000
--- a/llvm/test/Transforms/SimplifyCFG/lifetime.ll
+++ /dev/null
@@ -1,29 +0,0 @@
-; RUN: opt < %s -simplifycfg -S | FileCheck %s
-
-; Test that a lifetime intrinsic doesn't prevent us from simplifying this.
-
-; CHECK: foo
-; CHECK: entry:
-; CHECK-NOT: bb0:
-; CHECK-NOT: bb1:
-; CHECK: ret
-define void @foo(i1 %x) {
-entry:
- %a = alloca i8
- call void @llvm.lifetime.start(i64 -1, i8* %a) nounwind
- br i1 %x, label %bb0, label %bb1
-
-bb0:
- call void @llvm.lifetime.end(i64 -1, i8* %a) nounwind
- br label %bb1
-
-bb1:
- call void @f()
- ret void
-}
-
-declare void @f()
-
-declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
-
-declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
OpenPOWER on IntegriCloud