This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64] Make call insns record the callee's arm_pcs


Richard Sandiford <richard.sandiford@arm.com> writes:
> [This follows on from:
>  https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00778.html
>  https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01456.html]
>
> At the moment we rely on SYMBOL_REF_DECL to get the ABI of the callee
> of a call insn, falling back to the default ABI if the decl isn't
> available.  I think it'd be cleaner to attach the ABI directly to the
> call instruction instead, which would also have the very minor benefit
> of handling indirect calls more efficiently.
>
> Tested on aarch64-linux-gnu.  OK to install?

Now applied as r276391 after getting a second opinion from Kyrill.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]