aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVyacheslav Levytskyy <vyacheslav.levytskyy@intel.com>2024-04-19 10:08:35 +0200
committerGitHub <noreply@github.com>2024-04-19 10:08:35 +0200
commit14193f4320e26b75dc592abf952af1c63760665c (patch)
tree1ef90f6b9d3c0a9ae67da5755bdac3a7033a684a /clang/lib/Frontend/CompilerInvocation.cpp
parente8fce95887ecfd87a83db8dbb0cc55966b004d6f (diff)
downloadllvm-14193f4320e26b75dc592abf952af1c63760665c.zip
llvm-14193f4320e26b75dc592abf952af1c63760665c.tar.gz
llvm-14193f4320e26b75dc592abf952af1c63760665c.tar.bz2
[SPIR-V] SPIR-V Backend must generate a valid OCL version if working in OpenCL environment (#89199)
If there is no information about OpenCL version we are forced to generate OpenCL 1.0 by default for the OpenCL environment to avoid puzzling run-times with Unknown/0.0 version output. For a reference, LLVM-SPIRV Translator avoids potential issues with run-times in a similar manner.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions