aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-05-08 07:51:57 +0200
committerGitHub <noreply@github.com>2025-05-08 07:51:57 +0200
commita11d86461e7d7d9bce3d04a39ded1cad394239ca (patch)
tree497af7e016c59073829ade22f7c1ab82c1d55659 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent5df01abe191ff4f848566e239798a2b4d26e1cf4 (diff)
downloadllvm-a11d86461e7d7d9bce3d04a39ded1cad394239ca.zip
llvm-a11d86461e7d7d9bce3d04a39ded1cad394239ca.tar.gz
llvm-a11d86461e7d7d9bce3d04a39ded1cad394239ca.tar.bz2
clang: Fix broken implicit cast to generic address space (#138863)
This fixes emitting undefined behavior where a 64-bit generic pointer is written to a 32-bit slot allocated for a private pointer. This can be seen in test/CodeGenOpenCL/amdgcn-automatic-variable.cl's wrong_pointer_alloca.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions