clang: Fix cast failure when using -fsanitize=undefined for HIP
This was assuming a direct reference to the global variable. The constant string is placed in addrspace 4, and has a constexpr addrspacecast to the generic address space.
Loading
Please sign in to comment