[clang] [llvm] [clang][OpenMP][SPIR-V] Fix addrspace of global constants (PR #134399)
Alexander Kornienko via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 16:56:53 PDT 2025
alexfh wrote:
We've started seeing errors similar to this one after this commit:
```
Can't translate llvm instruction:
Global variable can not have Function storage class. Consider setting a proper address space.
Original LLVM value:
@.str.2 = private unnamed_addr constant [19 x i8] c"%s at %s:%d in %s\0A\00", align 1
```
Is this the expected effect of the change?
https://github.com/llvm/llvm-project/pull/134399
More information about the llvm-commits
mailing list