[llvm] [AMDGPU] Make globally-addressable-scratch opt-in (PR #189555)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 01:13:30 PDT 2026
================
@@ -1292,9 +1292,16 @@ defm XF32Insts : AMDGPUSubtargetFeature<"xf32-insts",
"v_mfma_f32_16x16x8_xf32 and v_mfma_f32_32x32x4_xf32"
>;
-defm GloballyAddressableScratch : AMDGPUSubtargetFeature<"globally-addressable-scratch",
- "FLAT instructions can access scratch memory for any thread in any wave",
- /*GenPredicate=*/0
+def FeatureGloballyAddressableScratchSupport : SubtargetFeature<"globally-addressable-scratch-support",
----------------
arsenm wrote:
Software controls shouldn't go into subtarget features. If this needs an explicit IR control, it should either be a module flag or function attribute
https://github.com/llvm/llvm-project/pull/189555
More information about the llvm-commits
mailing list