]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Forgot changelog :(
authorJan Hubicka <hubicka@gcc.gnu.org>
Tue, 6 Nov 2012 17:28:36 +0000 (17:28 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 6 Nov 2012 17:28:36 +0000 (17:28 +0000)
From-SVN: r193248

gcc/ChangeLog

index 2979b384ba50d39c82cf917e2c9437faeb5d0de7..4e6d1957e323452914ceca1c398e6fcba718eb3f 100644 (file)
@@ -1,3 +1,17 @@
+2012-11-06  Jan Hubicka  <jh@suse.cz>
+
+       * cfgloopanal.c (get_loop_hot_path): New function.
+       * tree-ssa-lop-ivcanon.c (struct loop_size): Add CONSTANT_IV,
+       NUM_NON_PURE_CALLS_ON_HOT_PATH, NUM_PURE_CALLS_ON_HOT_PATH,
+       NUM_BRANCHES_ON_HOT_PATH.
+       (tree_estimate_loop_size): Compute the new values.
+       (try_unroll_loop_completely): Disable unrolling of loops with only
+       calls or too many branches.
+       (tree_unroll_loops_completely): Deal also with outer loops of hot loops.
+       * cfgloop.h (get_loop_hot_path): Declare.
+       * params.def (PARAM_MAX_PEEL_BRANCHES): New parameters.
+       * invoke.texi (max-peel-branches): Document.
+
 2012-11-06  Jan Hubicka  <jh@suse.cz>
 
        * ipa-pure-const.c (check_stmt): Fix debug info formatting.