[Mlir-commits] [mlir] [mlir][emitc] Add a structured for operation (PR #68206)

Jacques Pienaar llvmlistbot at llvm.org
Wed Oct 4 14:48:50 PDT 2023


================
@@ -246,6 +247,81 @@ def EmitC_DivOp : EmitC_BinaryOp<"div", []> {
   let results = (outs FloatIntegerIndexOrOpaqueType);
 }
 
+def EmitC_ForOp : EmitC_Op<"for",
+      [AutomaticAllocationScope, DeclareOpInterfaceMethods<LoopLikeOpInterface,
----------------
jpienaar wrote:

Nit: Lets start the declare... on the new line and then indent, just to make it easier to see.

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


More information about the Mlir-commits mailing list