aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNathan Gauër <brioche@google.com>2025-06-02 17:51:53 +0200
committerGitHub <noreply@github.com>2025-06-02 11:51:53 -0400
commitdf5f65d22a697ec67725bac3660d4540769af8b2 (patch)
treea69a9e875ba1c8ee7e8fa9745879c047de294663 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent847e403ed7197988d4c8b95800b7e9b178d058a7 (diff)
downloadllvm-df5f65d22a697ec67725bac3660d4540769af8b2.zip
llvm-df5f65d22a697ec67725bac3660d4540769af8b2.tar.gz
llvm-df5f65d22a697ec67725bac3660d4540769af8b2.tar.bz2
[SPIR-V] Only emit __spirv__ when targeting HLSL (#142401)
OpenCL translator has a `__spirv` namespace, and defining the `__spirv__` macro causes issues downstream on the OpenCL side. This macro is needed to keep compatibility with HLSL/DXC, but can be avoided for other targets/languages.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions