[PATCH] rs6000: Support ELFv2 sibcall for indirect calls [PR96787]

Alan Modra amodra@gmail.com
Fri Aug 28 01:18:43 GMT 2020

On Thu, Aug 27, 2020 at 03:17:45PM -0500, Segher Boessenkool wrote:
> On Thu, Aug 27, 2020 at 01:51:25PM -0500, Bill Schmidt wrote:
> It not the copy that is unnecessary: the preventing it *here*, manually,
> is what is unnecessary.

Blame me for the original !rtx_equal_p in rs6000_call_aix that Bill
copied.  So does emit_move_insn prevent the copy?  I can't spot where,
maybe I haven't looked hard enough.

If emit_move_insn doesn't prevent it, then why create useless RTL that
is only going to make work for optimisation passes that remove such

Alan Modra
Australia Development Lab, IBM

More information about the Gcc-patches mailing list