mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
0f605f729e
commit
664306b9d8
|
|
@ -1,3 +1,9 @@
|
||||||
|
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)
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue