[llvm-commits] CVS: poolalloc/test/TEST.poolalloc.Makefile TEST.poolalloc.report

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 10 15:39:22 PST 2004



Changes in directory poolalloc/test:

TEST.poolalloc.Makefile updated: 1.32 -> 1.33
TEST.poolalloc.report updated: 1.23 -> 1.24

---
Log message:

Run the new pool optimize pass, report number of bump pointer pools


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

Index: poolalloc/test/TEST.poolalloc.Makefile
diff -u poolalloc/test/TEST.poolalloc.Makefile:1.32 poolalloc/test/TEST.poolalloc.Makefile:1.33
--- poolalloc/test/TEST.poolalloc.Makefile:1.32	Mon Nov  8 12:54:40 2004
+++ poolalloc/test/TEST.poolalloc.Makefile	Wed Nov 10 17:39:08 2004
@@ -44,12 +44,12 @@
 $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).poolalloc.bc): \
 Output/%.$(TEST).poolalloc.bc: Output/%.llvm.bc $(PA_SO) $(LOPT)
 	- at rm -f $(CURDIR)/$@.info
-	-$(OPT_PA_STATS) -poolalloc $(EXTRA_PA_FLAGS) $(OPTZN_PASSES) $< -o $@ -f 2>&1 > $@.out
+	-$(OPT_PA_STATS) -poolalloc $(EXTRA_PA_FLAGS) $(OPTZN_PASSES) -pooloptimize $< -o $@ -f 2>&1 > $@.out
 
 $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).allnodes.bc): \
 Output/%.$(TEST).allnodes.bc: Output/%.llvm.bc $(PA_SO) $(LOPT)
 	- at rm -f $(CURDIR)/$@.info
-	-$(OPT_PA_STATS) -poolalloc -poolalloc-heuristic=AllNodes $(OPTZN_PASSES) $< -o $@ -f 2>&1 > $@.out
+	-$(OPT_PA_STATS) -poolalloc -poolalloc-heuristic=AllNodes -pooloptimize  $(OPTZN_PASSES) $< -o $@ -f 2>&1 > $@.out
 
 
 $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).mallocrepl.bc): \


Index: poolalloc/test/TEST.poolalloc.report
diff -u poolalloc/test/TEST.poolalloc.report:1.23 poolalloc/test/TEST.poolalloc.report:1.24
--- poolalloc/test/TEST.poolalloc.report:1.23	Mon Nov  8 00:58:16 2004
+++ poolalloc/test/TEST.poolalloc.report	Wed Nov 10 17:39:08 2004
@@ -81,6 +81,7 @@
  [],
  ["NumPools",       '([0-9]+).*Number of pools allocated'],
  ["Typesafe",       '([0-9]+).*Number of typesafe pools'],
+ ["BumpPtr",        '([0-9]+).*Number of bump pointer pools'],
  ["NumArgs",        '([0-9]+).*Number of function arguments added'],
 #["Nonprofit",      '([0-9]+).*Number of DSNodes not profitable'],
  []





More information about the llvm-commits mailing list