]> granicus.if.org Git - clang/commit
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)
commit8009d95670f83316254a7010b531f9f861e02de5
tree824b7c30e55d736fb4822b285a68f33fac5d9ece
parentbd51d2f5496d0e6c9412b6409d1db1437564d67f
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/nvptx-abi.c