diff options
| author | Nathan Gauër <brioche@google.com> | 2025-06-02 17:51:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 11:51:53 -0400 |
| commit | df5f65d22a697ec67725bac3660d4540769af8b2 (patch) | |
| tree | a69a9e875ba1c8ee7e8fa9745879c047de294663 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 847e403ed7197988d4c8b95800b7e9b178d058a7 (diff) | |
[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
