[llvm-commits] [poolalloc] r127200 - in /poolalloc/trunk/test: TEST.types.Makefile TEST.types.report
Arushi Aggarwal
aggarwa4 at illinois.edu
Mon Mar 7 17:33:09 PST 2011
Author: aggarwa4
Date: Mon Mar 7 19:33:09 2011
New Revision: 127200
URL: http://llvm.org/viewvc/llvm-project?rev=127200&view=rev
Log:
Remove scalarrepl from set of safe optimization passes.
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=127200&r1=127199&r2=127200&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.types.Makefile (original)
+++ poolalloc/trunk/test/TEST.types.Makefile Mon Mar 7 19:33:09 2011
@@ -31,7 +31,8 @@
ANALYZE_OPTS += -instcount -disable-verify
MEM := -track-memory -time-passes -disable-output
-SAFE_OPTS := -internalize -scalarrepl -deadargelim -globaldce -basiccg -inline
+#SAFE_OPTS := -internalize -scalarrepl -deadargelim -globaldce -basiccg -inline
+SAFE_OPTS := -internalize -deadargelim -globaldce -basiccg -inline
$(PROGRAMS_TO_TEST:%=Output/%.linked1.bc): \
Output/%.linked1.bc: Output/%.linked.rbc $(LOPT)
@@ -44,14 +45,13 @@
$(PROGRAMS_TO_TEST:%=Output/%.temp1.bc): \
Output/%.temp1.bc: Output/%.llvm1.bc
-$(RUNTOOLSAFELY) $(LLVMLD) -disable-opt $(SAFE_OPTS) -link-as-library $< $(PA_PRE_RT) -o $@
-
$(PROGRAMS_TO_TEST:%=Output/%.opt1.bc): \
Output/%.opt1.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 -mergearrgep -die -globaldce -simplifycfg -deadargelim -arg-simplify -varargsfunc -indclone -funcspec -deadargelim -globaldce -die -simplifycfg -gep-args -deadargelim -die -mergegep -die -globaldce -stats -time-passes $< -f -o $@
+ -$(RUNOPT) -load $(ASSIST_SO) -disable-opt -info-output-file=$(CURDIR)/$@.info -instnamer -internalize -varargsfunc -indclone -funcspec -ipsccp -deadargelim -simplifygep -die -mergegep -mergearrgep -die -globaldce -simplifycfg -deadargelim -arg-simplify -varargsfunc -indclone -funcspec -deadargelim -globaldce -die -simplifycfg -gep-args -deadargelim -die -mergegep -die -dce -globaldce -stats -time-passes $< -f -o $@
$(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 -mergegep -die -mergearrgep -die -globaldce -stats -time-passes $< -f -o $@
+ -$(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 $@
$(PROGRAMS_TO_TEST:%=Output/%.temp2.bc): \
Output/%.temp2.bc: Output/%.temp1.bc $(LOPT) $(ASSIST_SO)
@@ -201,15 +201,15 @@
@/bin/echo -n "VARARGS_CALLS: " >> $@
- at grep 'Number of Calls Simplified' $<.info >> $@
@echo >> $@
+ @/bin/echo -n "GEP_CALLS: " >> $@
+ - at grep 'Number of Calls Modified' $<.info >> $@
+ @echo >> $@
@/bin/echo -n "ARG_SMPL: " >> $@
- at grep 'Number of Args changeable' $<.info >> $@
@echo >> $@
- @/bin/echo -n "CALLS1: " >> $@
- - at grep 'Number of calls that could not be resolved' $@.time.1 >> $@
+ @/bin/echo -n "INDCALLS: " >> $@
+ - at grep 'Number of unresolved IndCalls' $@.time.1 >> $@
@echo >> $@
- @-if test -f Output/$*.opt.diff-nat; then \
- printf "RUN: 1" >> $@;\
- fi
$(PROGRAMS_TO_TEST:%=test.$(TEST).%): \
Modified: poolalloc/trunk/test/TEST.types.report
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/TEST.types.report?rev=127200&r1=127199&r2=127200&view=diff
==============================================================================
--- poolalloc/trunk/test/TEST.types.report (original)
+++ poolalloc/trunk/test/TEST.types.report Mon Mar 7 19:33:09 2011
@@ -159,11 +159,12 @@
# Nodes Folded
[],
["VAFUNC", "VARARGS_CALLS: *([0-9]+)"],
+ ["GEPFUNC", "GEP_CALLS: *([0-9]+)"],
["ARGSMPL", "ARG_SMPL: *([0-9]+)"],
["FUNCSPEC", "CLONED_FUNCSPEC: *([0-9]+)"],
["INDCLONE", "CLONED_INDCLONE: *([0-9]+)"],
["StdLibFold", "STD_LIB_FOLD: *([0-9]+)"],
["I2PB", "I2PB: *([0-9]+)"],
["I2PS", "I2PS: *([0-9]+)"],
- ["Calls", "CALLS1: *([0-9]+)"],
+ ["Calls", "INDCALLS: *([0-9]+)"],
);
More information about the llvm-commits
mailing list