diff mbox

[GOOGLE] update ssa before compute_inline_parameters

Message ID CAO2gOZW7bHxx2iixP=mnJ+Q=0Qc7L7mYWguYJeja64CCm=G=9Q@mail.gmail.com
State New
Headers show

Commit Message

Dehao Chen March 20, 2014, 5:40 p.m. UTC
This patch calls update_ssa before compute_inline_paramters.

Bootstrapped and perf test on-going.

OK for google-4_8?

Thanks,
Dehao

       autofdo::afdo_annotate_cfg (promoted_stmts);
diff mbox

Patch

Index: gcc/auto-profile.c
===================================================================
--- gcc/auto-profile.c (revision 208726)
+++ gcc/auto-profile.c (working copy)
@@ -1613,6 +1613,7 @@  auto_profile (void)
   early_inliner ();
  }

+      update_ssa (TODO_update_ssa);
       compute_inline_parameters (cgraph_get_node
(current_function_decl), true);
       early_inliner ();