[Mlir-commits] [mlir] 9c137f7 - [mlir][linalg][bufferize] Fix typo in function name

Matthias Springer llvmlistbot at llvm.org
Wed Nov 3 18:55:18 PDT 2021


Author: Matthias Springer
Date: 2021-11-04T10:48:39+09:00
New Revision: 9c137f76680de1d570c329161ab903586626676d

URL: https://github.com/llvm/llvm-project/commit/9c137f76680de1d570c329161ab903586626676d
DIFF: https://github.com/llvm/llvm-project/commit/9c137f76680de1d570c329161ab903586626676d.diff

LOG: [mlir][linalg][bufferize] Fix typo in function name

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
    mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h b/mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
index c69f382dcee6f..b7ce96d9fedf3 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
@@ -194,7 +194,7 @@ bufferizeOp(Operation *op, BlockAndValueMapping &bvm,
             DenseMap<FuncOp, FunctionType> *bufferizedFunctionTypes = nullptr);
 
 /// Register external models implemented for the `BufferizableOpInterface`.
-void registerBufferiableOpInterfaceExternalModels(DialectRegistry &registry);
+void registerBufferizableOpInterfaceExternalModels(DialectRegistry &registry);
 } // namespace linalg
 } // namespace mlir
 

diff  --git a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
index 8deed135aa6ca..1fe5835d282bf 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
@@ -2045,7 +2045,7 @@ struct LinalgComprehensiveModuleBufferize
         .insert<linalg::LinalgDialect, memref::MemRefDialect,
                 tensor::TensorDialect, vector::VectorDialect, scf::SCFDialect,
                 arith::ArithmeticDialect, StandardOpsDialect>();
-    registerBufferiableOpInterfaceExternalModels(registry);
+    registerBufferizableOpInterfaceExternalModels(registry);
   }
 
 private:
@@ -3480,7 +3480,7 @@ template <> struct LinalgOpInterfaceHelper<> {
 
 } // namespace
 
-void registerBufferiableOpInterfaceExternalModels(DialectRegistry &registry) {
+void registerBufferizableOpInterfaceExternalModels(DialectRegistry &registry) {
   registry.addOpInterface<arith::ConstantOp, arith_ext::ConstantOpInterface>();
   registry.addOpInterface<linalg::InitTensorOp,
                           linalg_ext::InitTensorOpInterface>();


        


More information about the Mlir-commits mailing list