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

--- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
If always using r0 is not an issue, I think it's possible to just use
operands[0] (casting it to the right size with subreg:SI, if needed) to avoid
using a potentially-reserved hardreg.  This would allow to remove the clobber
from the pattern altogether.

(I also imagine that sh.md could benefit from a rework of call patterns, I
don't understand why it's done this way with postreload splits)

Reply via email to