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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Richard Biener from comment #7)

> 
> >        else if (targetm.small_register_classes_for_mode_p (GET_MODE (x)))
> >          record = false;
> >        else if (targetm.class_likely_spilled_p (REGNO_REG_CLASS (regno)))
> 
> so which one is true for x86?  The 2nd?  This is actually a quite bad
> heuristic given it applies 'locally' instead when performing a replacement
> which can take into account distance and register pressure.

Both are true for x86.

Reply via email to