[llvm] [SPIRV] FIX print the symbolic operand for opcode for the operation OpSpecConstantOp (PR #135756)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu May 15 09:52:07 PDT 2025


================
@@ -1743,3 +1744,93 @@ defm MatrixAAndBTF32ComponentsINTEL : CooperativeMatrixOperandsOperand<0x20, [SP
 defm MatrixAAndBBFloat16ComponentsINTEL : CooperativeMatrixOperandsOperand<0x40, [SPV_INTEL_joint_matrix], [CooperativeMatrixBFloat16ComponentTypeINTEL]>;
 defm MatrixCBFloat16ComponentsINTEL : CooperativeMatrixOperandsOperand<0x80, [SPV_INTEL_joint_matrix], [CooperativeMatrixBFloat16ComponentTypeINTEL]>;
 defm MatrixResultBFloat16ComponentsINTEL : CooperativeMatrixOperandsOperand<0x100, [SPV_INTEL_joint_matrix], [CooperativeMatrixBFloat16ComponentTypeINTEL]>;
+
+//===----------------------------------------------------------------------===//
+// Multiclass used to define SpecConstant Operands enum values and at the
+// same time SymbolicOperand entries with string mnemonics, extensions and
+// capabilities.
----------------
MrSidims wrote:

Probably this is a cleaner comment
```suggestion
// Multiclass used to define SpecConstant Operands enum values and at the
// same time SymbolicOperand.
```

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


More information about the llvm-commits mailing list