[Mlir-commits] [mlir] [mlir][tosa] Enhance TosaInferShapes pass for simple shape inference (PR #178418)
Tai Ly
llvmlistbot at llvm.org
Fri Feb 20 14:42:58 PST 2026
================
@@ -42,6 +42,16 @@ def TosaInferShapesPass : Pass<"tosa-infer-shapes", "func::FuncOp"> {
"tensor::TensorDialect",
"tosa::TosaDialect",
];
+
+ let options = [
+ Option<"foldShapeExpressions", "fold-shape-expressions", "bool",
+ /*default=*/"false",
----------------
Tai78641 wrote:
why not always enable foldShapeExpressions? or enable it by default?
https://github.com/llvm/llvm-project/pull/178418
More information about the Mlir-commits
mailing list