[Mlir-commits] [mlir] [mlir][spirv] add ExecutionModeIdOp (PR #186241)

Igor Wodiany llvmlistbot at llvm.org
Sun Mar 15 05:17:57 PDT 2026


================
@@ -919,6 +919,83 @@ void spirv::ExecutionModeOp::print(OpAsmPrinter &printer) {
     printer << ", " << llvm::interleaved(values.getAsValueRange<IntegerAttr>());
 }
 
+//===----------------------------------------------------------------------===//
+// spirv.ExecutionModeId
+//===----------------------------------------------------------------------===//
+
+void spirv::ExecutionModeIdOp::build(OpBuilder &builder, OperationState &state,
----------------
IgWod wrote:

Considering how simple it's I think we should inline it into the `.td` file.

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


More information about the Mlir-commits mailing list