diff options
author | Chris Bowler <cebowleratibm@gmail.com> | 2020-02-06 11:19:35 -0500 |
---|---|---|
committer | Sean Fertile <sd.fertile@gmail.com> | 2020-02-06 12:07:34 -0500 |
commit | b373ec8ce76a00cd079f70d108b13129c3a4a7b9 (patch) | |
tree | 76d50aa49ce4d85ed673e712599aa58751ac6cf4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b68b8be8e2b930056d134a2632dd7a80ad0c701c (diff) | |
download | llvm-b373ec8ce76a00cd079f70d108b13129c3a4a7b9.zip llvm-b373ec8ce76a00cd079f70d108b13129c3a4a7b9.tar.gz llvm-b373ec8ce76a00cd079f70d108b13129c3a4a7b9.tar.bz2 |
[AIX] Implement caller arguments passed in stack memory.
This patch implements the caller side of placing function call arguments
in stack memory. This removes the current limitation where LLVM on AIX
will report fatal error when arguments can't be contained in registers.
There is a particular oddity that a float argument that passes in a
register and also in stack memory requires that the caller initialize
both. From what AIX "ABI" documentation I have it's not clear that this
needs to be done, however, it is necessary for compatibility with the
AIX XL compiler so I think it's best to implement it the same way.
Note a later patch will follow to address the callee side.
Differential Revision: https://reviews.llvm.org/D73209
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions