diff options
author | Nick Sarnie <nick.sarnie@intel.com> | 2025-04-09 08:41:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-09 15:41:53 +0000 |
commit | 68ee56d15020b4fa7f3c5443b4be6504481957d4 (patch) | |
tree | af5db1854de043d39c555d2a132505090798c19d /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | b010554d2d1fbe19091b2b3996e0477b70fcd84b (diff) | |
download | llvm-68ee56d15020b4fa7f3c5443b4be6504481957d4.zip llvm-68ee56d15020b4fa7f3c5443b4be6504481957d4.tar.gz llvm-68ee56d15020b4fa7f3c5443b4be6504481957d4.tar.bz2 |
[clang][OpenMP][SPIR-V] Fix addrspace of global constants (#134399)
SPIR-V has strict address space rules, constant globals cannot be in the
default address space.
The OMPIRBuilder change was required for lit tests to pass, we were
missing an addrspacecast.
---------
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions