summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-29 21:18:16 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-29 21:18:16 +0000
commitbd4ac2697358f47c80d8598fa182aa0e18fa16c4 (patch)
tree6351d481fec8e0d26112b539686fbef358db858e /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parentb588726ec976f38ceacb8ae2aff97c2631073142 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud