This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: if-conversion/HOT-COLD partitioning
On Fri, Oct 26, 2012 at 12:14 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> On Thu, Oct 25, 2012 at 4:10 PM, Christophe Lyon wrote:
>> It looks like something is wrong with the CFG:
>>
>> |
>> 19 (COLD)
>> / \
>> / \
>> 20 (COLD) 21 (COLD)
>> \ /
>> \ /
>> 22 (HOT)
>
> So the partitioning is messed up, the above makes no sense. Where does
> it come from?
Oh, and you can of course always attach dumps to a PR. If you dump
with -fdump-{tree,rtl}-all-blocks-details, the profile counts are also
reported in the dumps, and the evolution of the CFG from the initial
partitioning to the thing you've ASCII-arted above can be deduced.
Ciao!
Steven