[all-commits] [llvm/llvm-project] 43aedd: [AMDGPU] Select VMEM prefetch for llvm.prefetch on...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Thu Jul 24 12:38:18 PDT 2025
Branch: refs/heads/users/rampitec/07-24-_amdgpu_select_vmem_prefetch_for_llvm.prefetch_on_gfx1250
Home: https://github.com/llvm/llvm-project
Commit: 43aeddba02055bd9870a1aaf5e73b131cd4f5f66
https://github.com/llvm/llvm-project/commit/43aeddba02055bd9870a1aaf5e73b131cd4f5f66
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/test/CodeGen/AMDGPU/llvm.prefetch.ll
M llvm/test/CodeGen/AMDGPU/loop-prefetch-data.ll
Log Message:
-----------
[AMDGPU] Select VMEM prefetch for llvm.prefetch on gfx1250
We have a choice to use a scalar or vector prefetch for an uniform
pointer. Since we do not have scalar stores our scalar cache is
practically readonly. The rw argument of the prefetch intrinsic is
used to force vector operation even for an uniform case. On GFX12
scalar prefetch will be used anyway, it is still useful but it will
only bring data to L2.
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