[Darwin, PPC, Mode Iterators 3/n] Update macho_correct_pic.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 27 Sep 2019 19:23:39 +0000 (19:23 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 27 Sep 2019 19:23:39 +0000 (19:23 +0000)
commit576113abdb10ebdd141cdd3adb6884973c3d3c1d
tree58ed47b06f6ae9e8491a872abbff1ab4d8579e47
parent26a23d11ed473563344d16a5b643795628e1b990
[Darwin, PPC, Mode Iterators 3/n] Update macho_correct_pic.

Drop the expander and use a mode expander on the define_insn
for macho_correct_pic instead.

gcc/ChangeLog:

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

* config/rs6000/darwin.md (@macho_correct_pic_<mode>): New,
replaces the expander and two define_insn entries.
(@reload_macho_picbase_<mode>): Update gen_macho_correct_pic
call.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.

From-SVN: r276196
gcc/ChangeLog
gcc/config/rs6000/darwin.md
gcc/config/rs6000/rs6000.md