[RS6000] secondary_reload and find_replacement
authorAlan Modra <amodra@gmail.com>
Tue, 13 Nov 2018 03:55:30 +0000 (14:25 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 13 Nov 2018 03:55:30 +0000 (14:25 +1030)
commit7877f4e000e999a902cf2898a535ae8e8ad45a3f
tree076d41a9e8b41926eb635d993ddc07e421d49d22
parentc6459f2dfa63a6581233eb143b7614422c88b352
[RS6000] secondary_reload and find_replacement

This patch removes a call only necessary when using reload.  It also
corrects a PRE_DEC address offset.

* config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Negate
offset for PRE_DEC.
(rs6000_secondary_reload_gpr): Don't call find_replacement.

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