[RS6000] Rewrite rs6000_frame_related to use simplify_replace_rtx
authorAlan Modra <amodra@gmail.com>
Thu, 5 May 2016 00:01:26 +0000 (09:31 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 5 May 2016 00:01:26 +0000 (09:31 +0930)
commit552d4a3dc6c9252eea642ac49c4d737970ee5eb3
tree7fabab87e61ae6d96ba30a8ed3c6d9da53515048
parent662fa3ba61d4fd0bc56803bc4d3866bced62bdc6
[RS6000] Rewrite rs6000_frame_related to use simplify_replace_rtx

Modify SETs rather than using replace_rtx on the whole insn.
Removes fragile hacks preventing USE and CLOBBER being modified.

* config/rs6000/rs6000.c (rs6000_frame_related): Rewrite.

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