mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
14e1e69121
* This directory should only contain LLVM tests anyway git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5411 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
505 B
Makefile
18 lines
505 B
Makefile
# test/Regression/LLC/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM sparc backend.
|
|
#
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
# Only .ll tests here. C tests are run via Makefile.singlesrc above.
|
|
#
|
|
TESTS := $(wildcard *.ll)
|
|
|
|
all:: $(addprefix Output/, $(filter-out %.c, $(TESTS:%.ll=%.ts)))
|
|
|
|
Output/%.ts: Output/%.bc $(LLC) Output/.dir
|
|
@echo "======== Compiling $< =========="
|
|
$(LLC) -f $< -o $@ || \
|
|
( rm -f $@; $(FAILURE) $@ )
|