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

Luke Hutton llvmlistbot at llvm.org
Fri May 1 09:15:20 PDT 2026


================
@@ -185,6 +185,17 @@ def TosaAttachTarget : Pass<"tosa-attach-target", "ModuleOp"> {
   ];
 }
 
+def TosaDowngrade1p1To1p0Pass
----------------
lhutton1 wrote:

The idea is that this pass will still exist once the TOSA 1.1 spec is released, so I've tried to name it accordingly. When work on TOSA 1.2 starts, we'll have two passes:
```
--tosa-downgrade-1-2-to-1-1
--tosa-downgrade-1-1-to-1-0
```
Using both in sequence can help you produce IR that's compatible with TOSA 1.0

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


More information about the Mlir-commits mailing list