Re: [google] Dump inline decisions more wisely

2012-01-07 Thread Xinliang David Li
ok for google branches. David On Sat, Jan 7, 2012 at 1:46 AM, Dehao Chen wrote: > Here is the new patch. > > Thanks, > Dehao > > Index: gcc/ipa-inline.c > === > --- gcc/ipa-inline.c    (revision 182864) > +++ gcc/ipa-inline.c    (wo

Re: [google] Dump inline decisions more wisely

2012-01-07 Thread Dehao Chen
Here is the new patch. Thanks, Dehao Index: gcc/ipa-inline.c === --- gcc/ipa-inline.c(revision 182864) +++ gcc/ipa-inline.c(working copy) @@ -308,12 +308,12 @@ bfd_name = "unknown"; buf_size = strlen (bfd_name) + 1;

Re: [google] Dump inline decisions more wisely

2012-01-05 Thread Xinliang David Li
Not ideal but better. Ok with this change. David On Thu, Jan 5, 2012 at 5:47 PM, Dehao Chen wrote: > Or use a new global variable to denote whether it's in early-inline or > ipa-inline? > > Dehao > > On Fri, Jan 6, 2012 at 1:46 AM, Xinliang David Li wrote: >> >> Is there a better way to detect

Re: [google] Dump inline decisions more wisely

2012-01-05 Thread Dehao Chen
Or use a new global variable to denote whether it's in early-inline or ipa-inline? Dehao On Fri, Jan 6, 2012 at 1:46 AM, Xinliang David Li wrote: > > Is there a better way to detect early inline phase and ipa_inline > pass? Use always_inline_functions_inlined flag seems hacky. > > David > > On W

Re: [google] Dump inline decisions more wisely

2012-01-05 Thread Xinliang David Li
Is there a better way to detect early inline phase and ipa_inline pass? Use always_inline_functions_inlined flag seems hacky. David On Wed, Jan 4, 2012 at 1:12 AM, Dehao Chen wrote: > Hi, > > This patch: > > * dump inline decisions with profile info whenever available. > * disable dump of einlin

[google] Dump inline decisions more wisely

2012-01-04 Thread Dehao Chen
Hi, This patch: * dump inline decisions with profile info whenever available. * disable dump of einline decisions at OPT_INFO_MIN. Is it ok for google branches? thanks, Dehao 2012-01-04 Dehao Chen * ipa-inline.c (cgraph_node_opt_info): Print profile info if available (dump_