================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits