commit | 61a921344090457f9429e44c7906ea75ce97e020 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Apr 21 23:59:07 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Apr 21 23:59:07 2008 +0000 |
tree | 14e1e665a355f7ff167f531a2bb2d3155f3baa9e | |
parent | f1f12f91e804d77ed301d006a412c169966e8ac9 [diff] |
Implement an x86-64 ABI detail of passing structs by hidden first 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50075 91177308-0d34-0410-b5e6-96231b3b80d8