diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-04-12 09:30:06 +0100 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2021-04-12 09:30:06 +0100 |
commit | 731bf28a6092286dde6972803b35c026e32bd6b1 (patch) | |
tree | f01c3b30e91ed0f6aef2dad47b5efd14a20663e6 /llvm/lib/Object/ModuleSymbolTable.cpp | |
parent | a655f250fef84795e3e46c0bcb824d7b5fbceec6 (diff) | |
download | llvm-731bf28a6092286dde6972803b35c026e32bd6b1.tar.gz |
[OpenCL] Accept .rgba in OpenCL 3.0
The .rgba vector component accessors are supported in OpenCL C 3.0.
Previously, the diagnostic would check `OpenCLVersion` for version 2.2
(value 220) and report those accessors are an OpenCL 2.2 feature.
However, there is no "OpenCL C version 2.2", so change the check and
diagnostic text to 3.0 only.
A spurious `OpenCLVersion` argument was passed into the diagnostic;
remove that.
Differential Revision: https://reviews.llvm.org/D99969
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions