[all-commits] [llvm/llvm-project] 91ba8b: clang: Fix cast failure when using -fsanitize=unde...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Nov 29 08:49:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91ba8b2b8dc44355851f2953ea3eeea21c230c53
https://github.com/llvm/llvm-project/commit/91ba8b2b8dc44355851f2953ea3eeea21c230c53
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
A clang/test/CodeGenHIP/sanitize-undefined-null.hip
Log Message:
-----------
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.
Commit: ee29a846c622b52d82e208146a028cf866351fde
https://github.com/llvm/llvm-project/commit/ee29a846c622b52d82e208146a028cf866351fde
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll
Log Message:
-----------
DAG: Fix assert when alloca has inconsistent pointer size
Take the type from the alloca, not the type to use for allocas.
Fixes issue 59250.
Compare: https://github.com/llvm/llvm-project/compare/a1255dc467f7...ee29a846c622
More information about the All-commits
mailing list