[llvm-commits] CVS: llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll Makefile
Chris Lattner
lattner at cs.uiuc.edu
Mon May 12 17:29:01 PDT 2003
Changes in directory llvm/test/Regression/Analysis/Dominators:
2003-05-12-UnreachableCode.ll added (r1.1)
Makefile added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll
diff -c /dev/null llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll:1.1
*** /dev/null Mon May 12 17:28:25 2003
--- llvm/test/Regression/Analysis/Dominators/2003-05-12-UnreachableCode.ll Mon May 12 17:28:15 2003
***************
*** 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
+
+ }
Index: llvm/test/Regression/Analysis/Dominators/Makefile
diff -c /dev/null llvm/test/Regression/Analysis/Dominators/Makefile:1.1
*** /dev/null Mon May 12 17:28:25 2003
--- llvm/test/Regression/Analysis/Dominators/Makefile Mon May 12 17:28:15 2003
***************
*** 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) $<
More information about the llvm-commits
mailing list