1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Added support for testing instruction selection on all but 2 tests.

llvm-svn: 333
This commit is contained in:
Vikram S. Adve 2001-07-31 21:45:56 +00:00
parent 5e19e64a94
commit e4a92c4029

View File

@ -1,5 +1,7 @@
TESTS := $(wildcard *.ll)
SELECTTESTS := $(shell /bin/ls *.ll | grep -v testmemory | grep -v testswitch")
test all : testasmdis testopt
@echo "All tests successfully completed!"
@ -8,8 +10,10 @@ testasmdis : $(TESTS:%.ll=%.ll.asmdis)
testopt : $(TESTS:%.ll=%.ll.opt)
testselect : $(SELECTTESTS:%.ll=%.mc)
clean :
rm -f *.[123] *.bc core
rm -f *.[123] *.bc *.mc core
%.asmdis: %
@echo "Running assembler/disassembler test on $<"
@ -18,3 +22,11 @@ clean :
%.opt: %
@echo "Running optimizier test on $<"
@./TestOptimizer.sh $<
%.bc: %.ll
rm -f $@
as $<
%.mc: %.bc
@echo "Generating machine instructions for $<"
@llc -dselect i $< > $@