diff --git a/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h b/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h --- a/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h +++ b/mlir/include/mlir/Dialect/Linalg/Transforms/BufferizableOpInterface.h @@ -18,7 +18,7 @@ class BlockAndValueMapping; namespace linalg { -class AllocationCallbacks; +struct AllocationCallbacks; class BufferizationAliasInfo; /// Specify fine-grain relationship between buffers to enable more analysis.