[PATCH] D66278: [RISCV] Enable tail call opt for variadic function
Bruce Hoult via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 19:47:50 PDT 2019
brucehoult added a comment.
In D66278#1652021 <https://reviews.llvm.org/D66278#1652021>, @Jim wrote:
> It can focus on whether the stack frame is created and not yet freed before the function call
> for saving saved register or passing parameters or others.
When you have a function in tail position with arguments that fit in registers the stack frame can *always* be freed first, because by definition the onward argument values and return address and address of the function to be called are the ONLY values in the function that are live.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66278/new/
https://reviews.llvm.org/D66278
More information about the llvm-commits
mailing list