Skip to content
  • Arnold Schwaighofer's avatar
    Change the lowering of arguments for tail call optimized · b01b99ec
    Arnold Schwaighofer authored
    calls. Before arguments that could overwrite 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 calling functions.
    
    llvm-svn: 47593
    b01b99ec
Loading