https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118581
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- (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.