[llvm-commits] CVS: llvm-test/Makefile.programs

Chris Lattner sabre at nondot.org
Sat Feb 3 14:41:33 PST 2007



Changes in directory llvm-test:

Makefile.programs updated: 1.252 -> 1.253
---
Log message:

fix a makefile bug (pass -f to opt) and make some opt invocations more efficient


---
Diffs of the changes:  (+3 -3)

 Makefile.programs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.252 llvm-test/Makefile.programs:1.253
--- llvm-test/Makefile.programs:1.252	Fri Feb  2 22:30:17 2007
+++ llvm-test/Makefile.programs	Sat Feb  3 16:41:17 2007
@@ -238,7 +238,7 @@
 # standard compilation optimizations.
 $(PROGRAMS_TO_TEST:%=Output/%.linked.bc): \
 Output/%.linked.bc: Output/%.linked.rbc $(LOPT)
-	-$(LOPT) -std-compile-opts $(STATS) $(EXTRA_LOPT_OPTIONS) $< -o $@
+	-$(LOPT) -std-compile-opts $(STATS) $(EXTRA_LOPT_OPTIONS) $< -o $@ -f
 
 $(PROGRAMS_TO_TEST:%=Output/%.llvm.stripped.bc): \
 Output/%.llvm.stripped.bc: Output/%.llvm.bc $(LOPT)
@@ -254,7 +254,7 @@
 Output/%.llvm.bc: Output/%.linked.bc $(LGCCLDPROG)
 	-$(LGCCLD) $(STATS) $< $(EXTRA_LINKTIME_OPT_FLAGS) -lc $(LIBS) -o Output/$*.llvm
 ifneq ($(OPTPASSES),)
-	-$(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
+	-$(LOPT) -q $(OPTPASSES) $@ -o $@.tmp -f
 	$(MV) -f $@.tmp $@
 endif
 
@@ -262,7 +262,7 @@
 Output/%.llvm: Output/%.linked.bc $(LGCCLDPROG)
 	-$(LGCCLD) $(STATS) $< -lc $(LIBS) -o Output/$*.llvm
 ifneq ($(OPTPASSES),)
-	-$(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
+	-$(LOPT) -q $(OPTPASSES) $@ -o $@.tmp -f
 	$(MV) -f $@.tmp $@
 endif
 






More information about the llvm-commits mailing list