[Mlir-commits] [mlir] 694df0f - [mlir][linalg][bufferize] Fix build

Matthias Springer llvmlistbot at llvm.org
Tue Jan 25 05:04:04 PST 2022


Author: Matthias Springer
Date: 2022-01-25T21:59:23+09:00
New Revision: 694df0f0a807e1b0c1c04edd6714955f96b9cae1

URL: https://github.com/llvm/llvm-project/commit/694df0f0a807e1b0c1c04edd6714955f96b9cae1
DIFF: https://github.com/llvm/llvm-project/commit/694df0f0a807e1b0c1c04edd6714955f96b9cae1.diff

LOG: [mlir][linalg][bufferize] Fix build

This fixes a linker error related to ModuleBufferization.cpp.

Differential Revision: https://reviews.llvm.org/D118127

Added: 
    

Modified: 
    mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
index 0fe79862a69d0..e5eac1fb2765d 100644
--- a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
+++ b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp
@@ -85,6 +85,16 @@ using namespace tensor;
 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 };


        


More information about the Mlir-commits mailing list