[llvm-commits] [poolalloc] r127344 - in /poolalloc/trunk/test: TEST.types.Makefile TEST.types.report
Arushi Aggarwal
aggarwa4 at illinois.edu
Wed Mar 9 10:05:00 PST 2011
Author: aggarwa4
Date: Wed Mar 9 12:04:59 2011
New Revision: 127344
URL: http://llvm.org/viewvc/llvm-project?rev=127344&view=rev
Log:
Add stat from -simplify-mrv, and also add that flag.
Modified:
poolalloc/trunk/test/TEST.types.Makefile
poolalloc/trunk/test/TEST.types.report
Modified: poolalloc/trunk/test/TEST.types.Makefile
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/TEST.types.Makefile?rev=127344&r1=127343&r2=127344&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.types.Makefile (original)
+++ poolalloc/trunk/test/TEST.types.Makefile Wed Mar 9 12:04:59 2011
@@ -32,11 +32,12 @@
MEM := -track-memory -time-passes -disable-output
#SAFE_OPTS := -internalize -scalarrepl -deadargelim -globaldce -basiccg -inline
-SAFE_OPTS := -internalize -deadargelim -globaldce -basiccg -inline
+#SAFE_OPTS := -internalize -deadargelim -globaldce -basiccg -inline
+SAFE_OPTS := -internalize -deadargelim -globaldce
$(PROGRAMS_TO_TEST:%=Output/%.linked1.bc): \
Output/%.linked1.bc: Output/%.linked.rbc $(LOPT)
- -$(RUNOPT) -disable-opt $(SAFE_OPTS) -info-output-file=$(CURDIR)/$@.info -stats -time-passes $< -f -o $@
+ -$(RUNOPT) -disable-opt $(SAFE_OPTS) -dce -info-output-file=$(CURDIR)/$@.info -stats -time-passes $< -f -o $@
$(PROGRAMS_TO_TEST:%=Output/%.llvm1.bc): \
Output/%.llvm1.bc: Output/%.linked1.bc $(LLVM_LDDPROG)
@@ -51,7 +52,7 @@
$(PROGRAMS_TO_TEST:%=Output/%.opt.bc): \
Output/%.opt.bc: Output/%.llvm1.bc $(LOPT) $(ASSIST_SO)
- -$(RUNOPT) -load $(ASSIST_SO) -disable-opt -info-output-file=$(CURDIR)/$@.info -instnamer -internalize -varargsfunc -indclone -funcspec -ipsccp -deadargelim -simplifygep -die -mergegep -die -mergearrgep -die -globaldce -simplifycfg -deadargelim -arg-simplify -die -varargsfunc -die -simplifycfg -globaldce -indclone -funcspec -deadargelim -globaldce -die -simplifycfg -gep-args -deadargelim -die -mergefunc -die -mergegep -die -mergearrgep -die -globaldce -int2ptrcmp -die -dce -stats -time-passes $< -f -o $@
+ -$(RUNOPT) -load $(ASSIST_SO) -disable-opt -info-output-file=$(CURDIR)/$@.info -instnamer -internalize -simplify-mrv -basiccg -inline -dce -simplify-mrv -dce -varargsfunc -indclone -funcspec -ipsccp -deadargelim -simplifygep -die -mergegep -die -mergearrgep -die -globaldce -simplifycfg -deadargelim -arg-simplify -die -varargsfunc -die -simplifycfg -globaldce -indclone -funcspec -deadargelim -globaldce -die -simplifycfg -gep-args -deadargelim -die -mergefunc -die -mergegep -die -mergearrgep -die -globaldce -int2ptrcmp -die -dce -simplify-mrv -dce -stats -time-passes $< -f -o $@
$(PROGRAMS_TO_TEST:%=Output/%.temp2.bc): \
Output/%.temp2.bc: Output/%.temp1.bc $(LOPT) $(ASSIST_SO)
@@ -207,6 +208,9 @@
@/bin/echo -n "ARG_SMPL: " >> $@
- at grep 'Number of Args changeable' $<.info >> $@
@echo >> $@
+ @/bin/echo -n "MRV: " >> $@
+ - at grep 'Number of Instructions Deleted' $<.info >> $@
+ @echo >> $@
@/bin/echo -n "INDCALLS: " >> $@
- at grep 'Number of unresolved IndCalls' $@.time.1 >> $@
@echo >> $@
Modified: poolalloc/trunk/test/TEST.types.report
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/TEST.types.report?rev=127344&r1=127343&r2=127344&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.types.report (original)
+++ poolalloc/trunk/test/TEST.types.report Wed Mar 9 12:04:59 2011
@@ -166,5 +166,6 @@
["StdLibFold", "STD_LIB_FOLD: *([0-9]+)"],
["I2PB", "I2PB: *([0-9]+)"],
["I2PS", "I2PS: *([0-9]+)"],
+ ["MRV", "MRV: *([0-9]+)"],
["Calls", "INDCALLS: *([0-9]+)"],
);
More information about the llvm-commits
mailing list