[LLVMdev] Destination register needs to be valid after callee saved register restore when tail calling
Dale Johannesen
dalej at apple.com
Wed Aug 8 09:27:37 PDT 2007
On Aug 8, 2007, at 6:12 AM, Arnold Schwaighofer wrote:
> When tail calling a function pointer the register the function
> pointer was loaded to might be invalidated by the restored callee
> saved registers.
Inserting a pseudo before your tail call that defines all the callee-
saved
registers should work. See FP_REG_KILL.
More information about the llvm-dev
mailing list