https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118581

--- Comment #5 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> (In reply to Richard Biener from comment #1)
> > Does it have counter info for PHI arguments (aka copies emitted on those
> > edges)?
> 
> I think yes, so IMO it should check a single successors PHIs corresponding
> to the block and use those counts.

It helps, w/ non-zero count, PRE can do the work and finally fixs the
performance drop for 519.lbm_r after anabling autofdo.

Reply via email to