Commit e813ee34 by Jan Hubicka Committed by Jan Hubicka

* predict.c (unlikely_executed_stmt_p): Cleanup.

From-SVN: r249068
parent f66e6423
2017-06-09 Jan Hubicka <hubicka@ucw.cz>
* predict.c (unlikely_executed_stmt_p): Cleanup.
2017-06-09 Richard Biener <rguenther@suse.de>
* tree-ssa-loop-im.c (execute_sm): Do not force multi-threaded
......
......@@ -797,10 +797,11 @@ unlikely_executed_stmt_p (gimple *stmt)
cgraph_node *n = cgraph_node::get (decl);
if (!n)
return false;
enum availability avail;
availability avail;
n = n->ultimate_alias_target (&avail);
if (avail < AVAIL_AVAILABLE)
return NULL;
return false;
if (!n->analyzed
|| n->decl == current_function_decl)
return false;
......
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