1 # test/Regression/LLC/Makefile
3 # This directory contains regression tests for the LLVM sparc backend.
6 include $(LEVEL)/test/Makefile.tests
8 # Only .ll tests here. C tests are run via Makefile.singlesrc above.
10 LL_TESTS := $(wildcard *.ll)
11 LLX_TESTS := $(wildcard *.llx)
13 all:: $(addprefix Output/, $(LL_TESTS:%.ll=%.ts))
14 all:: $(addprefix Output/, $(LLX_TESTS:%.llx=%.llx.out))
16 Output/%.ts: Output/%.bc $(LLC) Output/.dir
17 @echo "======== Compiling $< =========="
18 $(LLC) -f $< -o $@ || \
19 ( rm -f $@; $(FAILURE) $@ )
21 Output/%.llx.out: %.llx Output/.dir $(LLC)