Commit 33c6daf4 by Tom de Vries Committed by Tom de Vries

Improve comments in pass_tree_loop_init::execute

2015-11-17  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-loop.c (pass_tree_loop_init::execute): Improve comments.

From-SVN: r230505
parent ed22b76f
2015-11-17 Tom de Vries <tom@codesourcery.com> 2015-11-17 Tom de Vries <tom@codesourcery.com>
* tree-ssa-loop.c (pass_tree_loop_init::execute): Improve comments.
2015-11-17 Tom de Vries <tom@codesourcery.com>
* tree-scalar-evolution.c (scev_const_prop): Dump details if replacing * tree-scalar-evolution.c (scev_const_prop): Dump details if replacing
uses of ssa_name with constant. uses of ssa_name with constant.
...@@ -211,12 +211,15 @@ public: ...@@ -211,12 +211,15 @@ public:
unsigned int unsigned int
pass_tree_loop_init::execute (function *fun ATTRIBUTE_UNUSED) pass_tree_loop_init::execute (function *fun ATTRIBUTE_UNUSED)
{ {
/* When processing a loop in the loop pipeline, we should be able to assert
that:
(loops_state_satisfies_p (LOOPS_NORMAL | LOOPS_HAVE_RECORDED_EXITS
| LOOP_CLOSED_SSA)
&& scev_initialized_p ())
*/
loop_optimizer_init (LOOPS_NORMAL loop_optimizer_init (LOOPS_NORMAL
| LOOPS_HAVE_RECORDED_EXITS); | LOOPS_HAVE_RECORDED_EXITS);
rewrite_into_loop_closed_ssa (NULL, TODO_update_ssa); rewrite_into_loop_closed_ssa (NULL, TODO_update_ssa);
/* We might discover new loops, e.g. when turning irreducible
regions into reducible. */
scev_initialize (); scev_initialize ();
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment