[llvm-commits] CVS: llvm/test/Programs/Makefile.programs
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 13 17:27:02 PST 2004
Changes in directory llvm/test/Programs:
Makefile.programs updated: 1.118 -> 1.119
---
Log message:
The Cbackend is now in LLC!
---
Diffs of the changes: (+4 -9)
Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.118 llvm/test/Programs/Makefile.programs:1.119
--- llvm/test/Programs/Makefile.programs:1.118 Fri Feb 13 17:01:36 2004
+++ llvm/test/Programs/Makefile.programs Fri Feb 13 17:26:12 2004
@@ -253,9 +253,10 @@
$(LGCCLD) -disable-inlining Output/gccld.test.bc -o Output/gccld.test-out -debug-pass=Arguments > $@.1 2>&1
sed 's/Pass Arguments: //' < $@.1 > $@
-
+# If the program requires exception handling support, enable (potentially
+# expensive) support for it.
ifdef REQUIRES_EH_SUPPORT
-CBEFLAGS += -enable-correct-eh-support
+LLCFLAGS += -enable-correct-eh-support
endif
#
@@ -263,17 +264,11 @@
#
$(PROGRAMS_TO_TEST:%=Output/%.cbe.c): \
Output/%.cbe.c: Output/%.llvm.bc $(LDIS)
- -$(LDIS) $(CBEFLAGS) -c $< -o $@ -f
+ -$(LLC) $(LLCFLAGS) -march=c $< -o $@ -f
$(PROGRAMS_TO_TEST:%=Output/%.cbe): \
Output/%.cbe: Output/%.cbe.c
-$(CC) $< $(LDFLAGS) $(CFLAGS) -fno-strict-aliasing -O2 -o $@
-
-# If the program requires exception handling support, enable (potentially
-# expensive) support for it.
-ifdef REQUIRES_EH_SUPPORT
-LLCFLAGS += -enable-correct-eh-support
-endif
#
# Compile a linked program to machine code with LLC.
More information about the llvm-commits
mailing list