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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D138439
clang: Fix cast failure when using -fsanitize=undefined for HIP ClosedPublic Authored by arsenm on Nov 21 2022, 8:09 AM.
Details
Diff Detail
Revision Contents
Diff 476910 clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGenHIP/sanitize-undefined-null.hip
|