[NVPTX] Fix emitting aggregate parameters
authorGautam Chakrabarti <gchakrabarti@nvidia.com>
Tue, 28 Jan 2014 18:35:29 +0000 (18:35 +0000)
committerGautam Chakrabarti <gchakrabarti@nvidia.com>
Tue, 28 Jan 2014 18:35:29 +0000 (18:35 +0000)
commit3dcb2a2d92cca5d5ebac11fafab923520341b265
tree9a609538b6933d2d87a91cfe4322e8745d3e50d7
parent106b79744b185969faf8a74c6bd7cad35e6f11bd
[NVPTX] Fix emitting aggregate parameters

The code was missing the case for aggregate parameters and
hence was emitting them as .b0 type. Also fixed a couple
of comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200325 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
test/CodeGen/NVPTX/aggr-param.ll [new file with mode: 0644]