[LLVMdev] RFC: Tailcall Improvement
Arnold Schwaighofer
arnold.schwaighofer at gmail.com
Tue Jan 8 05:04:54 PST 2008
Here is a patch to improve argument lowering for tail calls. Before
this patch all outgoing arguments were move to the stack slot where
they would go on a normal function call and from there moved back to
the tail call stack slot to prevent overwriting of values.
After this patch only arguments that source from callers arguments
(formal_arguments) are lowered this way.
I moved some code that would otherwise be duplicated to a new
function 'GetMemCpyWithFlags'.
Okay to commit?
regards arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tailcall-improvement.patch
Type: application/octet-stream
Size: 10604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080108/6d29e8c3/attachment.obj>
More information about the llvm-dev
mailing list