Skip to content
  • Arnold Schwaighofer's avatar
    Fix Bug 4278: X86-64 with -tailcallopt calling convention · e3a018d7
    Arnold Schwaighofer authored
    out of sync with regular cc.
    
    The only difference between the tail call cc and the normal
    cc was that one parameter register - R9 - was reserved for
    calling functions through a function pointer. After time the
    tail call cc has gotten out of sync with the regular cc. 
    
    We can use R11 which is also caller saved but not used as
    parameter register for potential function pointers and
    remove the special tail call cc on x86-64.
    
    llvm-svn: 73233
    e3a018d7
Loading