[RS6000] Use gen_hard_reg_clobber in rs6000.c
authorAlan Modra <amodra@gmail.com>
Sat, 15 Dec 2018 07:13:19 +0000 (17:43 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 15 Dec 2018 07:13:19 +0000 (17:43 +1030)
commit590f447b7027c218a11df8434569135abf450747
tree3c22de8d076eb674eadc0b19ac0367c00fc5ca1e
parent0e29ebb81f2d4a9d083af40125f985557201d8da
[RS6000] Use gen_hard_reg_clobber in rs6000.c

I noticed when looking at PR88311 that rs6000_call_sysv should be
using gen_hard_reg_clobber (as the sysv call insns did prior to
introducing rs6000_call_sysv).  This patch fixes that minor
regression, and other like places in rs6000.c.

* config/rs6000/rs6000.c (generate_set_vrsave, rs6000_emit_savres_rtx),
(rs6000_emit_prologue, rs6000_call_aix, rs6000_call_sysv),
(rs6000_call_darwin_1): Use gen_hard_reg_clobber.

From-SVN: r267164
gcc/ChangeLog
gcc/config/rs6000/rs6000.c