[LLVMdev] Obligatory monthly tail call patch

Arnold Schwaighofer arnold.schwaighofer at gmail.com
Sat Feb 23 13:01:51 PST 2008


Hello everybody, hi Evan,

this patch changes the lowering of arguments for tail call optimized
calls. Before arguments that could be overwritten by each other were
explicitly lowered to a stack slot, not giving the register allocator
a chance to optimize. Now a sequence of copyto/copyfrom virtual
registers ensures that arguments are loaded in (virtual) registers
before they are lowered to the stack slot (and might overwrite each
other). Also parameter stack slots are marked mutable for
(potentially) tail caling functions.

okay to commit?

regards
arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r47531-tc.patch
Type: text/x-patch
Size: 10642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080223/372446d4/attachment.bin>


More information about the llvm-dev mailing list