diff options
| author | Michael Kuperstein <mkuper@google.com> | 2017-07-06 22:18:54 +0000 |
|---|---|---|
| committer | Michael Kuperstein <mkuper@google.com> | 2017-07-06 22:18:54 +0000 |
| commit | b9fc48da832654a2b486adaa790ceaa6dba94455 (patch) | |
| tree | be29f66617ae7c9a91cb0239f60c1304a3f40b69 /llvm/lib/Transforms/Scalar | |
| parent | 65f69b0244417e2a9da84c4d0d7b79ba0e8763ec (diff) | |
| download | bcm5719-llvm-b9fc48da832654a2b486adaa790ceaa6dba94455.tar.gz bcm5719-llvm-b9fc48da832654a2b486adaa790ceaa6dba94455.zip | |
[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: 307326
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
0 files changed, 0 insertions, 0 deletions

