public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz>
To: Richard Guenther <richard.guenther@gmail.com>
Cc: Jan Hubicka <hubicka@ucw.cz>, gcc-patches@gcc.gnu.org
Subject: Re: More of ipa-inline housekeeping
Date: Fri, 15 Apr 2011 11:40:00 -0000	[thread overview]
Message-ID: <20110415112342.GC911@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <BANLkTin5Yho2akQzO1dDwVTfC14cgA76pw@mail.gmail.com>

> 2011/4/15 Jan Hubicka <hubicka@ucw.cz>:
> >> >
> >> > I fixed this on the and added sanity check that the fields are initialized.
> >> > This has shown problem with early inliner iteration fixed thusly and fact that
> >> > early inliner is attempting to compute overall growth at a time the inline
> >> > parameters are not computed for functions not visited by early optimizations
> >> > yet. We previously agreed that early inliner should not try to do that (as this
> >> > leads to early inliner inlining functions called once that should be deferred
> >> > for later consieration).  I just hope it won't cause benchmarks to
> >> > regress too much ;)
> >>
> >> Yeah, we agreed to that.  And I forgot about it as it wasn't part of the
> >> early inliner reorg (which was supposed to be a 1:1 transform).
> >
> > Today C++ results shows some regressions, but nothing earthshaking.  So I think it is good
> > idea to drop this feature of early inliner since it is not really systematic.
> > There is also great improvement on LTO SPEC2000, but I tend to hope it is unrelated change.
> > Perhaps your aliasing?
> 
> I doubt SPEC2k uses VLAs or alloca, does it?  Might be the DSE
> improvements, but I'm not sure.

It seems to happen only with LTO, so it might be inlining & fixed call cost estimates. It does not
seem so likely to me however - I know that gzip is touchy about inlining, but vortex seems easy.

Honza

  reply	other threads:[~2011-04-15 11:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 22:20 Jan Hubicka
2011-04-14  8:59 ` Richard Guenther
2011-04-15 10:32   ` Jan Hubicka
2011-04-15 10:38     ` Richard Guenther
2011-04-15 11:40       ` Jan Hubicka [this message]
2011-04-17  1:18 ` H.J. Lu
2011-04-17  1:27   ` H.J. Lu
2011-04-15 15:22 Dominique Dhumieres
2011-04-17 10:23 ` Jan Hubicka
2011-04-17 12:08   ` Richard Guenther
2011-04-17 13:22     ` Jan Hubicka
2011-04-15 15:27 Dominique Dhumieres
2011-04-17 10:35 Dominique Dhumieres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110415112342.GC911@atrey.karlin.mff.cuni.cz \
    --to=hubicka@ucw.cz \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.guenther@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).