diff options
author | Artem Belevich <tra@google.com> | 2017-07-20 21:16:03 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2017-07-20 21:16:03 +0000 |
commit | d7a73824e46ac8aae8b7ba03069c662fb32f0f20 (patch) | |
tree | 147d23119b0dc5c0824618ed3c4714e388357fe9 /clang/unittests/Format/FormatTestJava.cpp | |
parent | e5456ce5e515a77fa4e1b447d1286be25b5ab525 (diff) | |
download | llvm-d7a73824e46ac8aae8b7ba03069c662fb32f0f20.zip llvm-d7a73824e46ac8aae8b7ba03069c662fb32f0f20.tar.gz llvm-d7a73824e46ac8aae8b7ba03069c662fb32f0f20.tar.bz2 |
[NVPTX] Add lowering of i128 params.
The patch adds support of i128 params lowering. The changes are quite trivial to
support i128 as a "special case" of integer type. With this patch, we lower i128
params the same way as aggregates of size 16 bytes: .param .b8 _ [16].
Currently, NVPTX can't deal with the 128 bit integers:
* in some cases because of failed assertions like
ValVTs.size() == OutVals.size() && "Bad return value decomposition"
* in other cases emitting PTX with .i128 or .u128 types (which are not valid [1])
[1] http://docs.nvidia.com/cuda/parallel-thread-execution/index.html#fundamental-types
Differential Revision: https://reviews.llvm.org/D34555
Patch by: Denys Zariaiev (denys.zariaiev@gmail.com)
llvm-svn: 308675
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions