Test cases for profile paths pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-22 22:02:14 +00:00
parent f09c74c385
commit 567c1e890a
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; RUN: as < %s | opt -paths
;
%globalCrc = uninitialized global uint ; <uint*> [#uses=1]
void "initialiseCRC"() {
bb1: ;[#uses=0]
store uint 4294967295, uint* %globalCrc
ret void
}

View 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) $<