[llvm] AMDGPU: Add supports-wgp subtarget feature (PR #212704)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 08:59:10 PDT 2026


================
@@ -60,6 +60,16 @@ def FeatureSupportsWave64 : SubtargetFeature<"supports-wave64",
   [], InlineIgnore
 >;
 
+// Whether the hardware supports WGP (work-group processor) execution
+// mode, as opposed to the per-kernel CU-mode selection
+// (FeatureCuMode).
+def FeatureSupportsWGP : SubtargetFeature<"supports-wgp",
----------------
shiltian wrote:

Right, it can be turned off as well. With that interface, there is no need to specify certain things.

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


More information about the llvm-commits mailing list