[clang] [llvm] [AMDGPU] Make cluster a target feature (PR #162040)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 08:11:03 PDT 2025


================
@@ -1837,7 +1839,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
   }
 
   /// \returns true if the subtarget supports clusters of workgroups.
-  bool hasClusters() const { return GFX1250Insts; }
+  bool hasClusters() const { return HasCluster; }
----------------
shiltian wrote:

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

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


More information about the llvm-commits mailing list