diff --git a/mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp b/mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp --- a/mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp +++ b/mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp @@ -81,6 +81,7 @@ pm.addNestedPass(tosa::createTosaOptionalDecompositions()); pm.addNestedPass(createCanonicalizerPass()); + pm.addNestedPass(tosa::createTosaInferShapesPass()); pm.addNestedPass(tosa::createTosaMakeBroadcastablePass()); pm.addNestedPass(tosa::createTosaToLinalgNamed()); pm.addNestedPass(createCanonicalizerPass());