[all-commits] [llvm/llvm-project] 727a05: AMDGPU: Fix mishandling of search for constantexpr...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Dec 17 18:14:26 PST 2024
Branch: refs/heads/users/arsenm/issue120256/fix-handling-of-constexpr-addrspacecasts
Home: https://github.com/llvm/llvm-project
Commit: 727a051e48dfe4968ef24184259df6a7b0bd5c86
https://github.com/llvm/llvm-project/commit/727a051e48dfe4968ef24184259df6a7b0bd5c86
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
A llvm/test/CodeGen/AMDGPU/issue120256-annotate-constexpr-addrspacecast.ll
Log Message:
-----------
AMDGPU: Fix mishandling of search for constantexpr addrspacecasts
This was assuming that the top level constant expression was an
addrspacecast. The first encountered expression may not be pointer typed,
and may not be the addrspacecast. We need to distinguish the types of
addrspacecasts unlike the previous queue ptr search, so do that.
Fixes #120256
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list