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 | bd4ac2697358f47c80d8598fa182aa0e18fa16c4 (patch) | |
tree | 6351d481fec8e0d26112b539686fbef358db858e /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | b588726ec976f38ceacb8ae2aff97c2631073142 (diff) | |
download | bcm5719-llvm-bd4ac2697358f47c80d8598fa182aa0e18fa16c4.tar.gz bcm5719-llvm-bd4ac2697358f47c80d8598fa182aa0e18fa16c4.zip |
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.
llvm-svn: 166968
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions