diff options
author | Alexey Sotkin <alexey.sotkin@intel.com> | 2018-07-31 19:47:19 +0000 |
---|---|---|
committer | Alexey Sotkin <alexey.sotkin@intel.com> | 2018-07-31 19:47:19 +0000 |
commit | 3b238ed6626983beb238b95eada4172184fb2d29 (patch) | |
tree | f82d483e949d5b3221f453867bd419b2e02f3086 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | e1f306210000b805c9870097a75e99b217bdd631 (diff) | |
download | bcm5719-llvm-3b238ed6626983beb238b95eada4172184fb2d29.tar.gz bcm5719-llvm-3b238ed6626983beb238b95eada4172184fb2d29.zip |
[OpenCL] Check for invalid kernel arguments in array types
Summary:
OpenCL specification forbids use of several types as kernel arguments.
This patch improves existing diagnostic to look through arrays.
Patch by: Andrew Savonichev
Reviewers: Anastasia, yaxunl
Subscribers: yaxunl, Anastasia, cfe-commits
Differential Revision: https://reviews.llvm.org/D49723
llvm-svn: 338427
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions