Skip to content
  • Dan Gohman's avatar
    Implement an x86-64 ABI detail of passing structs by hidden first · f166d2d0
    Dan Gohman authored
    argument. The x86-64 ABI requires the incoming value of %rdi to
    be copied to %rax on exit from a function that is returning a
    large C struct.
    
    Also, add a README-X86-64 entry detailing the missed optimization
    opportunity and proposing an alternative approach.
    
    llvm-svn: 50075
    f166d2d0
Loading