summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-23 22:15:57 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-07-23 22:15:57 +0000
commit179afae0bfa35cb76c24309f8db1c2d4f03747d8 (patch)
tree1458a28c1ba12084739cc005ab13f04ed82db925 /llvm/lib
parent8a052b9414a02f42e72ecb739675902d51b43c32 (diff)
downloadbcm5719-llvm-179afae0bfa35cb76c24309f8db1c2d4f03747d8.tar.gz
bcm5719-llvm-179afae0bfa35cb76c24309f8db1c2d4f03747d8.zip
[PowerPC64] Fix passing of single-vector-member structs to match ABI.
The 64-bit PowerPC ELF ABI requires a struct that contains a single vector member to be passed in a vector register as though the wrapping struct were not present. Instead we were passing this as a byval struct. The same logic was already present for floating-point arguments, so this patch just extends the logic to handle vector types. The new test case verifies that clang coerces the parameter and annotates it as inreg. Thanks, Bill llvm-svn: 186993
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud