New testcase for dominator problem
authorChris Lattner <sabre@nondot.org>
Fri, 2 Aug 2002 16:41:21 +0000 (16:41 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Aug 2002 16:41:21 +0000 (16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3209 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2002-08-02-DomSetProblem.ll [new file with mode: 0644]

diff --git a/test/Other/2002-08-02-DomSetProblem.ll b/test/Other/2002-08-02-DomSetProblem.ll
new file mode 100644 (file)
index 0000000..a6bf60a
--- /dev/null
@@ -0,0 +1,11 @@
+; Dominator set calculation is not calculating dominators for unreachable 
+; blocks.  These blocks should at least dominate themselves.  This is 
+; fouling up the verify pass.
+;
+; RUN: analyze -domset %s | grep BB
+
+void %test() {
+       ret void
+BB:
+       ret void
+}