diff options
author | Nick Sarnie <nick.sarnie@intel.com> | 2025-09-16 00:11:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 15:11:38 +0000 |
commit | c7acd0796cb8971cb4abccc7813be23ee447ab0f (patch) | |
tree | 7de0699f6dafb6ad494ca138c0e2c9773db47f74 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 134a58adff85c6f7bcd8fb29604b954c82c78e2a (diff) | |
download | llvm-c7acd0796cb8971cb4abccc7813be23ee447ab0f.zip llvm-c7acd0796cb8971cb4abccc7813be23ee447ab0f.tar.gz llvm-c7acd0796cb8971cb4abccc7813be23ee447ab0f.tar.bz2 |
[clang][OMPIRBuilder] Use default target AS to create types (#158152)
Currently we assume that `0` is the default AS, which is usually true,
but it isn't for `SPIR-V`.
Pass down the AS from `clang` and use it to create types.
After this change, we finally generate fully valid SPIR-V for a basic
OpenMP Offloading example.
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions