[llvm-commits] [test-suite] r60675 - /test-suite/trunk/Makefile.programs

Chris Lattner sabre at nondot.org
Sun Dec 7 10:50:27 PST 2008


Author: lattner
Date: Sun Dec  7 12:50:27 2008
New Revision: 60675

URL: http://llvm.org/viewvc/llvm-project?rev=60675&view=rev
Log:
Two changes: 
1) opt appends to the .info file, so remove it before opt runs.
2) emit -stats output in the "opt" .info file in addition to timing info.


Modified:
    test-suite/trunk/Makefile.programs

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=60675&r1=60674&r2=60675&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Sun Dec  7 12:50:27 2008
@@ -261,7 +261,8 @@
 # standard compilation optimizations.
 $(PROGRAMS_TO_TEST:%=Output/%.linked.bc): \
 Output/%.linked.bc: Output/%.linked.rbc $(LOPT)
-	-$(LOPT) -std-compile-opts -time-passes -info-output-file=$(CURDIR)/$@.info $(STATS) $(EXTRA_LOPT_OPTIONS) $< -o $@ -f
+	$(VERB) $(RM) -f $(CURDIR)/$@.info
+	-$(LOPT) -std-compile-opts -time-passes -stats -info-output-file=$(CURDIR)/$@.info $(STATS) $(EXTRA_LOPT_OPTIONS) $< -o $@ -f
 
 $(PROGRAMS_TO_TEST:%=Output/%.llvm.stripped.bc): \
 Output/%.llvm.stripped.bc: Output/%.llvm.bc $(LOPT)
@@ -269,7 +270,8 @@
 
 $(PROGRAMS_TO_TEST:%=Output/%.linked.optbeta.bc): \
 Output/%.linked.optbeta.bc: Output/%.linked.rbc $(LOPT)
-	-$(LOPT) $(OPTBETAOPTIONS) -time-passes -info-output-file=$(CURDIR)/$@.info $(STATS)  $< -o $@ -f
+	$(VERB) $(RM) -f $(CURDIR)/$@.info
+	-$(LOPT) $(OPTBETAOPTIONS) -time-passes -stats -info-output-file=$(CURDIR)/$@.info $(STATS)  $< -o $@ -f
 
 
 ifndef DISABLE_FOR_LLVM_PROGRAMS





More information about the llvm-commits mailing list