[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)

Marius Brehler llvmlistbot at llvm.org
Thu Aug 15 08:31:49 PDT 2024


================
@@ -94,6 +94,19 @@ static void lowerYield(SmallVector<Value> &resultVariables,
   rewriter.eraseOp(yield);
 }
 
+// Lower the contents of an scf::if/scf::index_switch regions to an
+// emitc::if/emitc::switch regions. The contents of the lowering region is
----------------
marbre wrote:

NIT:
```suggestion
// emitc::if/emitc::switch region. The contents of the lowering region is
```

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


More information about the Mlir-commits mailing list