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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 02:06:17 PDT 2026


================
@@ -2149,6 +2158,7 @@ def FeatureISAVersion12 : FeatureSet<
    FeatureRealTrue16Insts,
    FeatureMTBUFInsts,
    FeatureFormattedMUBUFInsts,
+   FeatureDataCacheLineSize128
----------------
arsenm wrote:

Right, but the cache line size property is independent of whether there is a prefetch instruction. This is conflating the two. The reported size for the prefetch insertion should be cachelinesize + whether there is a useful prefetch instruction 

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


More information about the llvm-commits mailing list