Commit 773d9217 by Bin Cheng Committed by Bin Cheng

tree-loop-distribution.c (pass_loop_distribution::execute): Skip if no loops.

	* tree-loop-distribution.c (pass_loop_distribution::execute): Skip
	if no loops.

From-SVN: r249984
parent 542e7230
2017-07-05 Bin Cheng <bin.cheng@arm.com>
* tree-loop-distribution.c (pass_loop_distribution::execute): Skip
if no loops.
2017-07-05 Bin Cheng <bin.cheng@arm.com>
* cfgloop.h (struct loop): Add comment. New field orig_loop_num.
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Comment change.
* internal-fn.c (expand_LOOP_DIST_ALIAS): New function.
......
......@@ -1758,6 +1758,9 @@ pass_loop_distribution::execute (function *fun)
control_dependences *cd = NULL;
auto_vec<loop_p> loops_to_be_destroyed;
if (number_of_loops (fun) <= 1)
return 0;
FOR_ALL_BB_FN (bb, fun)
{
gimple_stmt_iterator gsi;
......
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