diff options
| author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-05-17 10:57:23 +0100 |
|---|---|---|
| committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-05-17 10:57:23 +0100 |
| commit | b250cca11d5996ed01d72cb1f933867da0e8d5e0 (patch) | |
| tree | 52d6579ed3b13cb3445069e91ede3c1cffa4451f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9ba452b08eb5368bd89126102031b687d0ecdbaf (diff) | |
[OpenCL] Do not guard vload/store_half builtins
The vload*_half* and vstore*_half* builtins do not require the
cl_khr_fp16 extension: pointers to `half` can be declared without the
extension and the _half variants of vload and vstore should be
available without the extension.
This aligns the guards for these builtins for
`-fdeclare-opencl-builtins` with `opencl-c.h`.
Fixes https://github.com/llvm/llvm-project/issues/55275
Differential Revision: https://reviews.llvm.org/D125401
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
