[llvm-dev] RFC: Dynamically Allocated "Callee Saved Registers" Lists
David Chisnall via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 9 03:58:07 PST 2017
On 9 Jan 2017, at 11:45, Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> On Mon, Jan 09, 2017 at 12:47:07PM +0300, Bruce Hoult via llvm-dev wrote:
>> Is there any calling convention, on any supported platform, that requires
>> the callee to preserve a register that was used to pass an argument?
> The "this" parameter for constructors and possible other things is
> handled like that on some platforms. ARM EABI I think?
Do you model that as a callee-save register, or as a register that is both an argument and return register and is guaranteed to return the argument?
More information about the llvm-dev