Pass aggregates on the stack without splitting in NVPTX.
authorEli Bendersky <eliben@google.com>
Wed, 29 Oct 2014 13:43:21 +0000 (13:43 +0000)
committerEli Bendersky <eliben@google.com>
Wed, 29 Oct 2014 13:43:21 +0000 (13:43 +0000)
commit95338a09c01f9044affaeb82d5291e9b3e02125f
tree7b64e6cc3e602767108e314c3a7d4754f413b8c7
parent639728da355d9e4ce2682581cd475871178e5820
Pass aggregates on the stack without splitting in NVPTX.

Following the NVVM IR specifications, arguments of aggregate type should be
passed on the stack without splitting (byval).

http://reviews.llvm.org/D6020

Patch by Jacques Pienaar.

llvm-svn: 220854
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGen/nvptx-abi.c