[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:01:12 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:
I have patches prepared for this (actually - 5 more), just didn't push them into the same stack is it's a bit too big of a bite to have at a time :)
https://github.com/llvm/llvm-project/pull/233262
More information about the llvm-branch-commits
mailing list