diff --git a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp --- a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp +++ b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp @@ -85,6 +85,16 @@ using namespace comprehensive_bufferize; using namespace mlir::bufferization; +/// Attribute name used to mark the bufferization layout for region +/// arguments during linalg comprehensive bufferization. +constexpr const ::llvm::StringLiteral + bufferization::BufferizableOpInterface::kBufferLayoutAttrName; + +/// Attribute name used to mark region arguments that can be bufferized +/// in-place during linalg comprehensive bufferization. +constexpr const ::llvm::StringLiteral + bufferization::BufferizableOpInterface::kInplaceableAttrName; + namespace { /// The state of analysis of a FuncOp. enum class FuncOpAnalysisState { NotAnalyzed, InProgress, Analyzed };