Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: better-storesink
Changeset: r87156:5219caed36d0
Date: 2016-09-06 19:38 +0200
http://bitbucket.org/pypy/pypy/changeset/5219caed36d0/

Log:    add statistics printing after store sinking

diff --git a/rpython/translator/backendopt/all.py 
b/rpython/translator/backendopt/all.py
--- a/rpython/translator/backendopt/all.py
+++ b/rpython/translator/backendopt/all.py
@@ -102,6 +102,9 @@
 
     if config.storesink:
         common_subexpression_elimination(translator, graphs)
+        if config.print_statistics:
+            print "after store sinking and CSE"
+            print_statistics(translator.graphs[0], translator)
 
     if config.profile_based_inline and not secondary:
         threshold = config.profile_based_inline_threshold
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to