[Darwin, PPC, Mode Iterators 2/n] Eliminate picbase expanders.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 26 Sep 2019 18:50:55 +0000 (18:50 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Thu, 26 Sep 2019 18:50:55 +0000 (18:50 +0000)
commit4fc1d2629ab373945a30031c1b49bdfa4e9f5f12
tree7c9f5f9ca8bfdbb62f3d85e4239c181a5e26c35f
parent0bfc204142439b8167bf3447d7d12b65d1da82f8
[Darwin, PPC, Mode Iterators 2/n] Eliminate picbase expanders.

We can use the mode iterators directly with an @pattern to avoid the
need for an expander that was only there to pass the mode through.

gcc/ChangeLog:

2019-09-26  Iain Sandoe  <iain@sandoe.co.uk>

* config/rs6000/darwin.md: Replace the expanders for
load_macho_picbase and reload_macho_picbase with use of '@'
in their respective define_insns.
(nonlocal_goto_receiver): Pass Pmode to gen_reload_macho_picbase.
* config/rs6000/rs6000-logue.c (rs6000_emit_prologue): Pass
Pmode to gen_load_macho_picbase.
* config/rs6000/rs6000.md: Likewise.

From-SVN: r276159
gcc/ChangeLog
gcc/config/rs6000/darwin.md
gcc/config/rs6000/rs6000-logue.c
gcc/config/rs6000/rs6000.md