[llvm] [mlir] [TOSA] Add TosaToMLProgram conversion (PR #69787)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 16:32:42 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.
----------------
Jerry-Ge wrote:
ack, done.
https://github.com/llvm/llvm-project/pull/69787
More information about the llvm-commits
mailing list