diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-03-31 16:41:40 +0100 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-03-31 16:41:40 +0100 |
commit | 4dfec37037f5f96db8898b79601c7a1d19177027 (patch) | |
tree | 8ce1e6886ae0b47e68b1c4c92b069ff5f8b3c2cf /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 11c14bca58e64477228d114de00a7eff473d2fd4 (diff) | |
download | llvm-4dfec37037f5f96db8898b79601c7a1d19177027.zip llvm-4dfec37037f5f96db8898b79601c7a1d19177027.tar.gz llvm-4dfec37037f5f96db8898b79601c7a1d19177027.tar.bz2 |
[OpenCL] Set MinVersion for sub_group_barrier with memory_scope
The memory_scope enum is not available before OpenCL 2.0, so ensure
the sub_group_barrier overload with a memory_scope argument is
restricted to OpenCL 2.0 and above. This is already the case in
opencl-c.h.
Fixes the issue revealed by https://reviews.llvm.org/D120254
Reported-by: Harald van Dijk (hvdijk)
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions