aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-02 16:41:21 +0000
committerChris Lattner <sabre@nondot.org>2002-08-02 16:41:21 +0000
commitf201495f27311bfcb3677e7846c44afa64734417 (patch)
treec36b85bf3b83d1c3568d8bd711489b0c1f78b5ff
parente7e764ca771f0908dc8a6c54552bf86be5aba302 (diff)
New testcase for dominator problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3209 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Other/2002-08-02-DomSetProblem.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Other/2002-08-02-DomSetProblem.ll b/test/Other/2002-08-02-DomSetProblem.ll
new file mode 100644
index 0000000000..a6bf60a4b8
--- /dev/null
+++ b/test/Other/2002-08-02-DomSetProblem.ll
@@ -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
+}