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 | f166d2d0d61cdd5da6862139d166f5d2903811a4 (patch) | |
tree | 8e61e156ca0404309b0e7d8f0b385df4ae27a749 /llvm/lib/VMCore/AsmWriter.cpp | |
parent | a591a12ea56c46c61da554e284561e6bfe7270fb (diff) | |
download | bcm5719-llvm-f166d2d0d61cdd5da6862139d166f5d2903811a4.tar.gz bcm5719-llvm-f166d2d0d61cdd5da6862139d166f5d2903811a4.zip |
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.
llvm-svn: 50075
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
0 files changed, 0 insertions, 0 deletions