diff --git a/compiler/src/iree/compiler/DispatchCreation/BubbleUpExpandShapes.cpp b/compiler/src/iree/compiler/DispatchCreation/BubbleUpExpandShapes.cpp index 48ee4d4d80c1..dc9f855ad4eb 100644 --- a/compiler/src/iree/compiler/DispatchCreation/BubbleUpExpandShapes.cpp +++ b/compiler/src/iree/compiler/DispatchCreation/BubbleUpExpandShapes.cpp @@ -204,6 +204,7 @@ void BubbleUpExpandShapesPass::runOnOperation() { // that can be done later) of reshape ops. tensor::populateFoldTensorEmptyPatterns(bubbleExpandShapePatterns); bubbleExpandShapePatterns.insert(context); + tensor::populateBubbleUpExpandShapePatterns(bubbleExpandShapePatterns); tensor::ExpandShapeOp::getCanonicalizationPatterns(bubbleExpandShapePatterns, context);