From f201495f27311bfcb3677e7846c44afa64734417 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Aug 2002 16:41:21 +0000 Subject: [PATCH] New testcase for dominator problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3209 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/2002-08-02-DomSetProblem.ll | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/Other/2002-08-02-DomSetProblem.ll diff --git a/test/Other/2002-08-02-DomSetProblem.ll b/test/Other/2002-08-02-DomSetProblem.ll new file mode 100644 index 00000000000..a6bf60a4b88 --- /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 +} -- 2.34.1