diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-21 23:59:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-21 23:59:07 +0000 |
commit | 61a921344090457f9429e44c7906ea75ce97e020 (patch) | |
tree | 14e1e665a355f7ff167f531a2bb2d3155f3baa9e /lib/CodeGen/PrologEpilogInserter.cpp | |
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
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions