mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd9c5de425
commit
b17a67807a
15
test/Analysis/Dominators/2003-05-12-UnreachableCode.ll
Normal file
15
test/Analysis/Dominators/2003-05-12-UnreachableCode.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: analyze %s -domset -disable-verify
|
||||
;
|
||||
int %re_match_2() {
|
||||
ENTRY:
|
||||
br label %loopexit.20
|
||||
loopentry.20:
|
||||
br label %loopexit.20
|
||||
|
||||
loopexit.20:
|
||||
ret int 0
|
||||
|
||||
endif.46: ; UNREACHABLE
|
||||
br label %loopentry.20
|
||||
|
||||
}
|
10
test/Analysis/Dominators/Makefile
Normal file
10
test/Analysis/Dominators/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
LEVEL = ../../../..
|
||||
include $(LEVEL)/test/Makefile.tests
|
||||
|
||||
TESTS := $(wildcard *.ll)
|
||||
|
||||
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
|
||||
|
||||
Output/%.ll.out: %.ll Output/.dir $(LOPT)
|
||||
-$(TESTRUNR) $<
|
Loading…
Reference in New Issue
Block a user