[Bug other/50582] Instruct GCC that added_clobbers_hard_reg_p shouldn't consider a specific register
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 7 01:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50582
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Paulo J. Matos from comment #2)
> Created attachment 25389 [details]
> Patch for GCC 4.6.1 implementing suggested enhancement
(In reply to Paulo J. Matos from comment #3)
> Created attachment 25420 [details]
> Allows reload to remove trivial insn
>
> I noticed that reload was failing to remove insn of the form:
> (parallel [(set rX rX) (clobber RCC)])
>
> Attached is a patch that does this. Removes move instructions whose clobber,
> clobbers registers defined in NOT_REALLY_HARD_REG.
Do these patches still apply against trunk? If so, please submit to gcc-patches
for review.
More information about the Gcc-bugs
mailing list