https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35603
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
--- Comment #3 from xinliangli at gmail dot com 2008-03-17 06:36 ---
(In reply to comment #2)
> Hmm, reorder basic blocks already takes into the edge probability.
>
Yes, I checked that gcc is doing good job in code layout with FDO for better
icache utilization.
--
http://gcc.gnu.o
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-16 05:08 ---
Hmm, reorder basic blocks already takes into the edge probability.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35603
--- Comment #1 from xinliangli at gmail dot com 2008-03-16 05:06 ---
(In reply to comment #0)
> Given code like:
>
> if (C1)
> {
> B1:
>..
> }
> else if (C2)
> {
> B2:
>...
> }
>
> If edge profile indicates that B2 (Predicate: ^C1 AND C2 ) is hot but B1
> (predicate: C1) is rar