aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-11-20 18:30:19 -0800
committerMatt Arsenault <arsenm2@gmail.com>2022-11-29 11:48:46 -0500
commit91ba8b2b8dc44355851f2953ea3eeea21c230c53 (patch)
treec93e3b24fb7622f01da2cb55e8b57d9b42eba671 /llvm/lib/CodeGen/CodeGen.cpp
parenta1255dc467f7ce57a966efa76bbbb4ee91d9115a (diff)
downloadllvm-91ba8b2b8dc44355851f2953ea3eeea21c230c53.zip
llvm-91ba8b2b8dc44355851f2953ea3eeea21c230c53.tar.gz
llvm-91ba8b2b8dc44355851f2953ea3eeea21c230c53.tar.bz2
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.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions