Richard Sandiford <richard.sandif...@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