[clang] [llvm] [AMDGPU] Adding instruction specific features (PR #167809)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 22:10:36 PST 2025


================
@@ -901,6 +901,48 @@ def FeaturePkFmacF16Inst : SubtargetFeature<"pk-fmac-f16-inst",
   "Has v_pk_fmac_f16 instruction"
 >;
 
+def FeatureCubeInsts : SubtargetFeature<"cube-insts",
+  "HasCubeInsts",
+  "true",
+  "Has V_CUBE* instructions"
----------------
shiltian wrote:

```suggestion
  "Has v_cube* instructions"
```

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


More information about the llvm-commits mailing list