Add a test case: an irreducible flow graph.
authorChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2001 03:00:25 +0000 (03:00 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2001 03:00:25 +0000 (03:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46 91177308-0d34-0410-b5e6-96231b3b80d8

test/irreducible.ll [new file with mode: 0644]

diff --git a/test/irreducible.ll b/test/irreducible.ll
new file mode 100644 (file)
index 0000000..4daed8a
--- /dev/null
@@ -0,0 +1,14 @@
+implementation
+
+;; This is an irreducible flow graph
+
+void "irreducible"(bool %cond)
+begin
+       br bool %cond, label %X, label %Y
+
+X:
+       br label %Y
+Y:
+       br label %X
+end
+