diff --git a/mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp b/mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp --- a/mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp +++ b/mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp @@ -1063,5 +1063,8 @@ *ctx); RankOp::attachInterface(*ctx); ReshapeOp::attachInterface(*ctx); + + // Load additional dialects of which ops may get created. + ctx->loadDialect(); }); }