[llvm] [AMDGPU] Avoid wmma bank conflict for GFX11 and GFX12 (PR #205530)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 04:32:31 PDT 2026
================
@@ -321,17 +360,27 @@ bool GCNPreRAOptimizationsImpl::run(MachineFunction &MF) {
const bool HasBVHStack = ST.hasBVHDualAndBVH8Insts();
const bool HasRealTrue16 = ST.useRealTrue16Insts();
+ // On gfx11/gfx12 the operands of a WMMA should be placed on distinct VGPR
+ // banks to avoid an issue-latency penalty.
+ const bool HasWMMABankHint = ST.hasFeature(AMDGPU::FeatureGFX11) ||
----------------
arsenm wrote:
Put predicate in subtarget
https://github.com/llvm/llvm-project/pull/205530
More information about the llvm-commits
mailing list