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

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #5)
> 
> While we probably could add those two patterns as a quick fix, I don't think
> it's a great solution, because we'd actually need to add such patterns for
> *all* insns that have the 'z'/r0 constraint.  In this case it might be
> better to add an SH specific RTL pass before IRA which can do such kind of
> RA preparations to improve the RA result/process.

Actually, that pass might also cover the issue in PR 64785.

Reply via email to