[llvm-branch-commits] [llvm] [AMDGPU] Price under-aligned memory operations (PR #233262)
Dmitry Sidorov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 3 13:02:44 PST 2026
================
@@ -2222,6 +2222,19 @@ InstructionCost GCNTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src,
bool IsDS = AddressSpace == AMDGPUAS::LOCAL_ADDRESS ||
AddressSpace == AMDGPUAS::REGION_ADDRESS;
bool HasDwordx3 = ST->hasDwordx3LoadStores();
+ bool HasUnalignedAccess = ST->hasUnalignedBufferAccessEnabled();
----------------
MrSidims wrote:
Spoiler:
[NFC][AMDGPU] Precommit uniform constant load cost tests
[AMDGPU] Price constant address space memory operations
[NFC][AMDGPU] Precommit buffer fat pointer and gfx1010 memory cost tests
[AMDGPU] Price buffer fat pointer memory operations
[AMDGPU] Price misaligned flat and LDS accesses with the LDS misaligned bug
https://github.com/llvm/llvm-project/pull/233262
More information about the llvm-branch-commits
mailing list