[PATCH] Disable -fno-reorder-blocks-and-partition if no -fprofile-use to avoid unnecessary overhead
Fri Sep 25 17:23:00 GMT 2015
Woops, we crossed wires. I just committed this patch. Would you like
me to revert it?
On Fri, Sep 25, 2015 at 9:57 AM, Andi Kleen <firstname.lastname@example.org> wrote:
> Teresa Johnson <email@example.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.
> firstname.lastname@example.org -- Speaking for myself only
Teresa Johnson | Software Engineer | email@example.com | 408-460-2413
More information about the Gcc-patches