aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-02-15 01:24:49 +0000
committerDevang Patel <dpatel@apple.com>2008-02-15 01:24:49 +0000
commit54f13c15209b309cfdc180ae6edf319a4d3c28d5 (patch)
treeaf68747bcc11c40366c773c5178be148c9706a8f /test/Other
parenta5b0c083188b55c31a5be69b3501d33c6d95f7cc (diff)
downloadexternal_llvm-54f13c15209b309cfdc180ae6edf319a4d3c28d5.zip
external_llvm-54f13c15209b309cfdc180ae6edf319a4d3c28d5.tar.gz
external_llvm-54f13c15209b309cfdc180ae6edf319a4d3c28d5.tar.bz2
Fix PR2028
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2008-02-14-PassManager.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Other/2008-02-14-PassManager.ll b/test/Other/2008-02-14-PassManager.ll
new file mode 100644
index 0000000..985e190
--- /dev/null
+++ b/test/Other/2008-02-14-PassManager.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | opt -loop-unroll -loop-rotate -simplifycfg -disable-output
+; PR 2028
+define i32 @test1() {
+ ret i32 0;
+}