[LLVMdev] Question about calling convention implementation in LLVM target
Rodolphe Suescun
rsu.medal at dolphin.fr
Wed May 14 04:05:02 PDT 2014
Hi,
We are currently developing an LLVM target for a micro-controller,
and would like our TargetLowering::LowerCall method to emit
PUSH instructions (instead of STORE) to pass arguments (which
would improve code density for function calls).
Is there a way of keeping track of the stack pointer changes
implied by the PUSH instruction to calculate the correct
offsets in RegisterInfo::eliminateFrameIndex when the call
sequence is generated ?
Thanks a lot in advance,
Rod
More information about the llvm-dev
mailing list