[Mlir-commits] [mlir] [llvm] [TOSA] Add TosaToMLProgram conversion (PR #69787)

Jacques Pienaar llvmlistbot at llvm.org
Tue Nov 7 14:33:36 PST 2023


================
@@ -1107,6 +1107,19 @@ def TosaToLinalgNamed
   let constructor = "tosa::createTosaToLinalgNamed()";
 }
 
+//===----------------------------------------------------------------------===//
+// TosaToMLProgram
+//===----------------------------------------------------------------------===//
+
+def TosaToMLProgram : Pass<"tosa-to-mlprogram", "ModuleOp"> {
+  let summary = "Lower TOSA to the ml_program dialect";
+  let dependentDialects = ["ml_program::MLProgramDialect"];
+  let description = [{
+    Pass that converts TOSA's variable operator operations to the equivalent
+    ml_program operations.
----------------
jpienaar wrote:

MLProgram (At least I think that's how the dialect doc writes it)

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


More information about the Mlir-commits mailing list