[llvm] [AMDGPU] Using feature to define vmem cacheline size (PR #207884)

Robert Imschweiler via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 00:33:48 PDT 2026


================
@@ -197,6 +200,9 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
   /// Instruction cache line size in bytes (64 for pre-GFX11, 128 for GFX11+).
   unsigned getInstCacheLineSize() const { return InstCacheLineSize; }
 
+  /// Data (VMEM) cache line size in bytes (128 by default, 256 for GFX12.6+).
----------------
ro-i wrote:

you neither set 128 as the default, nor 256 for GFX12.6+?

https://github.com/llvm/llvm-project/pull/207884


More information about the llvm-commits mailing list