[Mlir-commits] [mlir] 57bf856 - [mlir] Add missing namespace to createInlinerPass

Valentin Clement llvmlistbot at llvm.org
Mon Sep 13 02:58:33 PDT 2021


Author: Valentin Clement
Date: 2021-09-13T11:58:27+02:00
New Revision: 57bf85601168ba4bf2798455b4bfea674c9f92d3

URL: https://github.com/llvm/llvm-project/commit/57bf85601168ba4bf2798455b4bfea674c9f92d3
DIFF: https://github.com/llvm/llvm-project/commit/57bf85601168ba4bf2798455b4bfea674c9f92d3.diff

LOG: [mlir] Add missing namespace to createInlinerPass

One of the createInlinerPass does not have the mlir:: namespace

Reviewed By: mehdi_amini

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

Added: 
    

Modified: 
    mlir/lib/Transforms/Inliner.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Transforms/Inliner.cpp b/mlir/lib/Transforms/Inliner.cpp
index b5a20dc0124bb..fe5643f36cb6b 100644
--- a/mlir/lib/Transforms/Inliner.cpp
+++ b/mlir/lib/Transforms/Inliner.cpp
@@ -774,9 +774,9 @@ mlir::createInlinerPass(llvm::StringMap<OpPassManager> opPipelines) {
   return std::make_unique<InlinerPass>(defaultInlinerOptPipeline,
                                        std::move(opPipelines));
 }
-std::unique_ptr<Pass>
-createInlinerPass(llvm::StringMap<OpPassManager> opPipelines,
-                  std::function<void(OpPassManager &)> defaultPipelineBuilder) {
+std::unique_ptr<Pass> mlir::createInlinerPass(
+    llvm::StringMap<OpPassManager> opPipelines,
+    std::function<void(OpPassManager &)> defaultPipelineBuilder) {
   return std::make_unique<InlinerPass>(std::move(defaultPipelineBuilder),
                                        std::move(opPipelines));
 }


        


More information about the Mlir-commits mailing list