From 4fc82a6e434860e8294082554b3c27e12cea5509 Mon Sep 17 00:00:00 2001
From: Devang Patel <dpatel@apple.com>
Date: Sat, 21 Apr 2007 00:34:37 +0000
Subject: New test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36293 91177308-0d34-0410-b5e6-96231b3b80d8
---
 .../Dominators/2007-04-20-PostDom-Reset.ll         | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll

(limited to 'test/Analysis/Dominators')

diff --git a/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll b/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll
new file mode 100644
index 0000000..06bc289
--- /dev/null
+++ b/test/Analysis/Dominators/2007-04-20-PostDom-Reset.ll
@@ -0,0 +1,28 @@
+; RUN: llvm-upgrade < %s | llvm-as | opt -postdomfrontier -disable-output
+
+void @args_out_of_range() {
+entry:
+	br label %bb
+
+bb:		; preds = %bb, %entry
+	br label %bb
+}
+
+void @args_out_of_range_3() {
+entry:
+	br label %bb
+
+bb:		; preds = %bb, %entry
+	br label %bb
+}
+
+void @Feq() {
+entry:
+	br i1 false, label %cond_true, label %cond_next
+
+cond_true:		; preds = %entry
+	unreachable
+
+cond_next:		; preds = %entry
+	unreachable
+}
-- 
cgit v1.1