public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Teresa Johnson <tejohnson@google.com>
Cc: "gcc-patches\@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	 Jan Hubicka <hubicka@ucw.cz>,
	 Xinliang David Li <davidxl@google.com>
Subject: Re: [PATCH] Disable -fno-reorder-blocks-and-partition if no -fprofile-use to avoid unnecessary overhead
Date: Fri, 25 Sep 2015 16:58:00 -0000	[thread overview]
Message-ID: <87twqisaht.fsf@tassilo.jf.intel.com> (raw)
In-Reply-To: <CAAe5K+WwdWZyp96ODECAxPsu-nf97akiKzremnhPbiYGS2E_bw@mail.gmail.com>	(Teresa Johnson's message of "Thu, 24 Sep 2015 10:16:24 -0700")

Teresa Johnson <tejohnson@google.com> writes:

> This patch unsets -freorder-blocks-and-partition when -fprofile-use
> is not specified. Function splitting was not actually being performed
> in that case, as probably_never_executed_bb_p does not distinguish
> any basic blocks as being cold vs hot when there is no profile data.

Actually I'm experimenting with a patch to fix that by allowing
function splitting even without profile feed back. See PR66890
which has the patch. I would prefer to keep and fix it.

-Andi


-- 
ak@linux.intel.com -- Speaking for myself only

  parent reply	other threads:[~2015-09-25 16:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 18:49 Teresa Johnson
2015-09-24 19:02 ` pinskia
2015-09-25 14:14 ` Bernd Schmidt
2015-09-25 14:26   ` Teresa Johnson
2015-09-25 14:34     ` Bernd Schmidt
2015-09-25 14:54     ` Jan Hubicka
2015-09-25 16:58       ` Teresa Johnson
2015-09-25 16:58 ` Andi Kleen [this message]
2015-09-25 17:23   ` Teresa Johnson
2015-09-25 17:36     ` Jeff Law
2015-09-25 19:13       ` Andi Kleen
2015-09-27  0:55         ` Bernhard Reutner-Fischer
2015-09-27 10:24           ` Andi Kleen

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=87twqisaht.fsf@tassilo.jf.intel.com \
    --to=andi@firstfloor.org \
    --cc=davidxl@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hubicka@ucw.cz \
    --cc=tejohnson@google.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).