1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/LiveVar/Makefile
Vikram S. Adve e801dabfc7 Regression tests for live-variable analysis on machine code
generated by llc.

llvm-svn: 1882
2002-03-16 21:42:33 +00:00

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) $@ )