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) < $@ > [EMAIL PROTECTED]
+       -$(LOPT) -q $(OPTPASSES) $@ -o [EMAIL PROTECTED] -f
        $(MV) -f [EMAIL PROTECTED] $@
 endif
 
@@ -262,7 +262,7 @@
 Output/%.llvm: Output/%.linked.bc $(LGCCLDPROG)
        -$(LGCCLD) $(STATS) $< -lc $(LIBS) -o Output/$*.llvm
 ifneq ($(OPTPASSES),)
-       -$(LOPT) -q $(OPTPASSES) < $@ > [EMAIL PROTECTED]
+       -$(LOPT) -q $(OPTPASSES) $@ -o [EMAIL PROTECTED] -f
        $(MV) -f [EMAIL PROTECTED] $@
 endif
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to