Adds extra error diagnostics when using unsupported types in kernel arguments.
This fixes https://bugs.llvm.org/show_bug.cgi?id=48099
Differential D100471
[C++4OpenCL] Add extra diagnostics for kernel argument types olestrohm on Apr 14 2021, 5:13 AM. Authored by
Details Adds extra error diagnostics when using unsupported types in kernel arguments. This fixes https://bugs.llvm.org/show_bug.cgi?id=48099
Diff Detail
Event Timeline
Comment Actions Added more exhaustive tests, as well as fixed the diagnostic to allow reference types.
Comment Actions LGTM from my side. I will leave final approval to Sven.
Comment Actions Restricted the checks to C++ for OpenCL and added another test for OpenCL vector types. |