mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
190144293d
generated by llc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1882 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
575 B
Makefile
19 lines
575 B
Makefile
# test/Regression/Assembler/Makefile
|
|
#
|
|
# This directory contains regression tests for the LLVM assembler program.
|
|
# These LLVM source file tests are just required to assembler properly to pass.
|
|
#
|
|
LEVEL = ../../..
|
|
include $(LEVEL)/test/Makefile.tests
|
|
|
|
TESTS := $(wildcard *.ll)
|
|
|
|
all:: $(addprefix Output/, $(TESTS:%.ll=%.out))
|
|
|
|
Output/%.out: %.ll $(LLC) Output/.dir
|
|
@echo "======== Testing live variables for $<"
|
|
$(LAS) < $< | $(LLC) -f -dlivevar i -o /dev/null 1> $@ 2>&1
|
|
diff $@ . > /dev/null 2>& 1 || \
|
|
( rm -f $@; $(FAILURE) $@ )
|
|
|