diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2016-11-14 17:39:58 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2016-11-14 17:39:58 +0000 |
commit | 0df4ac3f94fc02df2d1263893a38a894e32078ea (patch) | |
tree | 60e22252168ce91bf30df1687f1e3709dd3fcc4d /clang/lib/CodeGen/CGExpr.cpp | |
parent | e1e344ed05bb83787ed90524154b7b04ddc49759 (diff) | |
download | bcm5719-llvm-0df4ac3f94fc02df2d1263893a38a894e32078ea.tar.gz bcm5719-llvm-0df4ac3f94fc02df2d1263893a38a894e32078ea.zip |
[OpenCL] Fix for integer parameters of enqueue_kernel
Make handling integer parameters more flexible:
- For the number of events argument allow to pass larger
integers than 32 bits as soon as compiler can prove that
the range fits in 32 bits. If not, the diagnostic will be given.
- Change type of the arguments specifying the sizes of
the corresponding block arguments to be size_t.
Review: https://reviews.llvm.org/D26509
llvm-svn: 286849
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions