[Mlir-commits] [mlir] [mlir][tosa] Add pass to assign static input shape to TOSA functions (PR #171156)
Luke Hutton
llvmlistbot at llvm.org
Tue Dec 9 09:50:15 PST 2025
================
@@ -198,4 +198,26 @@ def TosaNarrowI64ToI32Pass : Pass<"tosa-narrow-i64-to-i32", "func::FuncOp"> {
];
}
+def TosaInputShape : Pass<"tosa-experimental-input-shape", "func::FuncOp"> {
----------------
lhutton1 wrote:
I don't have a strong opinion here, but can try to give a couple of reasons that motivated me to include it here:
- It existed in the initial PR https://github.com/llvm/llvm-project/pull/145075
- Other than testing/experimentation, we weren't sure how useful this pass would be in practise. Marking it as "experimental" is an attempt to indicate that the pass might change or be removed in the future.
>From my side, I'm happy to remove if this feels unnecessary (cc @Tai78641 @udaya-ranga)
https://github.com/llvm/llvm-project/pull/171156
More information about the Mlir-commits
mailing list