summaryrefslogtreecommitdiff
path: root/test/Transforms/ADCE
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-15 15:29:11 +0000
committerChris Lattner <sabre@nondot.org>2003-09-15 15:29:11 +0000
commit3a49a6b5b85c4750e26a859ba9fed5984d7be09d (patch)
treebc0015db08733b66809e090e4f1bed4bd830a06d /test/Transforms/ADCE
parent919846dac822f1725f3c1cb5023bc192382a6d31 (diff)
downloadllvm-3a49a6b5b85c4750e26a859ba9fed5984d7be09d.tar.gz
llvm-3a49a6b5b85c4750e26a859ba9fed5984d7be09d.tar.bz2
llvm-3a49a6b5b85c4750e26a859ba9fed5984d7be09d.tar.xz
new testcase that crashes opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ADCE')
-rw-r--r--test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
new file mode 100644
index 0000000000..13b4f91cd6
--- /dev/null
+++ b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | opt -adce -disable-output
+
+int %main() {
+ br label %loop
+
+loop:
+ br label %loop
+}