diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-29 21:18:16 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-29 21:18:16 +0000 |
commit | e6c56433de56fb89f1d476332134b6b2e22cfa28 (patch) | |
tree | 76c7a3b8e0642cfe144506d32720862e6eca0da2 /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 4830ccff925b8d57f589650a3ad6007ffa0536d5 (diff) |
This patch solves a problem with passing varargs parameters under the PPC64
ELF ABI.
A varargs parameter consisting of a single-precision floating-point value,
or of a single-element aggregate containing a single-precision floating-point
value, must be passed in the low-order (rightmost) four bytes of the
doubleword stack slot reserved for that parameter. If there are GPR protocol
registers remaining, the parameter must also be mirrored in the low-order
four bytes of the reserved GPR.
Prior to this patch, such parameters were being passed in the high-order
four bytes of the stack slot and the mirrored GPR.
The patch adds a new test case to verify the correct code generation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions