Commit 664306b9 by Richard Biener Committed by Martin Liska

Update SSA after AutoPGO early inlining (PR ipa/65972).

2017-04-19  Richard Biener  <rguenther@suse.de>

	PR ipa/65972
	* auto-profile.c (afdo_vpt_for_early_inline): Update SSA
	when needed by AutoPGO.

From-SVN: r246996
parent 0f605f72
2017-04-19 Richard Biener <rguenther@suse.de>
PR ipa/65972
* auto-profile.c (afdo_vpt_for_early_inline): Update SSA
when needed by AutoPGO.
2017-04-19 Paulo J. Matos <paulo@matos-sorge.com> 2017-04-19 Paulo J. Matos <paulo@matos-sorge.com>
PR lto/50345 PR lto/50345
......
...@@ -1511,7 +1511,9 @@ afdo_vpt_for_early_inline (stmt_set *promoted_stmts) ...@@ -1511,7 +1511,9 @@ afdo_vpt_for_early_inline (stmt_set *promoted_stmts)
if (has_vpt) if (has_vpt)
{ {
optimize_inline_calls (current_function_decl); unsigned todo = optimize_inline_calls (current_function_decl);
if (todo & TODO_update_ssa_any)
update_ssa (TODO_update_ssa);
return true; return true;
} }
......
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