diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-10 20:10:48 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-10-10 20:10:48 +0000 |
commit | 5a28f062b910cd00e4abc969ede94ab8779ea6b9 (patch) | |
tree | 73dccb49a31f590d70b0e9f297a9b6dab7ecd0e5 /test/Makefile | |
parent | 0e986d7d28ab7db0b76ac3024cd4bb211e76c3c2 (diff) | |
download | external_llvm-5a28f062b910cd00e4abc969ede94ab8779ea6b9.zip external_llvm-5a28f062b910cd00e4abc969ede94ab8779ea6b9.tar.gz external_llvm-5a28f062b910cd00e4abc969ede94ab8779ea6b9.tar.bz2 |
testmemory and sumarray now work with instruction selection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile index 10b5d5b..d922ddf 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,10 +1,16 @@ LLC := ../tools/Debug/llc AS := ../tools/Debug/as LLCOPTS := -dsched y +ARCHFLAGS = ## -xarch=v9 + +CC = /opt/SUNWspro/bin/cc +CCFLAGS = -g $(ARCHFLAGS) +## CC = gcc +## CCFLAGS = -g $(ARCHFLAGS) ## -mcpu=v9 TESTS := $(wildcard *.ll) -LLCTESTS := $(shell /bin/ls *.ll | grep -v testmemory | grep -v testswitch | grep -v sumarray | grep -v opttest | grep -v xx.ll | grep -v select.ll ) +LLCTESTS := $(shell /bin/ls *.ll | grep -v testswitch | grep -v opttest | grep -v xx.ll | grep -v select.ll ) test all : testasmdis testopt testcodegen @@ -21,6 +27,8 @@ testsched : $(LLCTESTS:%.ll=%.mc) testcodegen : $(LLCTESTS:%.ll=%.mc) +testsparc : $(LLCTESTS:%.ll=%.s) + clean : rm -f *.[123] *.bc *.mc core @@ -42,6 +50,10 @@ clean : %.s: %.ll $(LLC) $(AS) $(AS) < $< | $(LLC) > $@ -%.o: %.s %.ll - /usr/ccs/bin/as -xarch=v9 $< +## %.o: %.s %.ll +## /usr/ccs/bin/as $(ARCHFLAGS) $< + + +%.o: %.s + $(CC) -c $(CCFLAGS) $< |