summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopRotate/LRCrash-1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/LoopRotate/LRCrash-1.ll')
-rw-r--r--test/Transforms/LoopRotate/LRCrash-1.ll18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Transforms/LoopRotate/LRCrash-1.ll b/test/Transforms/LoopRotate/LRCrash-1.ll
new file mode 100644
index 000000000000..e6c7667d5975
--- /dev/null
+++ b/test/Transforms/LoopRotate/LRCrash-1.ll
@@ -0,0 +1,18 @@
+; RUN: llvm-as < %s | opt -loop-rotate -disable-output
+
+ %struct.relation = type { [4 x i16], i32, [4 x i16], i32, i32 }
+
+define void @findAllPairs() {
+entry:
+ br i1 false, label %bb139, label %bb10.i44
+bb10.i44: ; preds = %entry
+ ret void
+bb127: ; preds = %bb139
+ br label %bb139
+bb139: ; preds = %bb127, %entry
+ br i1 false, label %bb127, label %bb142
+bb142: ; preds = %bb139
+ %r91.0.lcssa = phi %struct.relation* [ null, %bb139 ] ; <%struct.relation*> [#uses=0]
+ ret void
+}
+