[Mlir-commits] [mlir] [mlir][tosa] Add a pass to downgrade TOSA `1.1.draft` to `1.0` (PR #194971)

Udaya Ranga llvmlistbot at llvm.org
Fri May 1 06:53:25 PDT 2026


================
@@ -185,6 +185,17 @@ def TosaAttachTarget : Pass<"tosa-attach-target", "ModuleOp"> {
   ];
 }
 
+def TosaDowngrade1p1To1p0Pass
+    : Pass<"tosa-downgrade-1-1-to-1-0", "func::FuncOp"> {
----------------
udaya-ranga wrote:

Just thinking out loud.
When there's 1.2, will we first convert it to 1.1 and then 1.0 ? --> I think "yes"
What if some 1.2 Ops are not representable in 1.1 ? --> I think this cannot happen, correct ?

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


More information about the Mlir-commits mailing list