diff options
author | Mogball <jeffniu22@gmail.com> | 2021-12-22 19:16:09 +0000 |
---|---|---|
committer | Mogball <jeffniu22@gmail.com> | 2021-12-22 19:17:14 +0000 |
commit | db68e6ab93a4506f277ff9a004f37dc9a049256e (patch) | |
tree | 4a1424fd5ea4eec3168adc91e8fc5c8183be9772 | |
parent | 9eb8e7b176e9fc38c8df86bd927663c6409ac262 (diff) | |
download | llvm-db68e6ab93a4506f277ff9a004f37dc9a049256e.zip llvm-db68e6ab93a4506f277ff9a004f37dc9a049256e.tar.gz llvm-db68e6ab93a4506f277ff9a004f37dc9a049256e.tar.bz2 |
[mlir] Fix missing namespace (NFC)
-rw-r--r-- | mlir/lib/Transforms/Canonicalizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/Transforms/Canonicalizer.cpp b/mlir/lib/Transforms/Canonicalizer.cpp index 92f21f6..cb53274 100644 --- a/mlir/lib/Transforms/Canonicalizer.cpp +++ b/mlir/lib/Transforms/Canonicalizer.cpp @@ -67,9 +67,9 @@ std::unique_ptr<Pass> mlir::createCanonicalizerPass() { /// Creates an instance of the Canonicalizer pass with the specified config. std::unique_ptr<Pass> -createCanonicalizerPass(const GreedyRewriteConfig &config, - ArrayRef<std::string> disabledPatterns = llvm::None, - ArrayRef<std::string> enabledPatterns = llvm::None) { +mlir::createCanonicalizerPass(const GreedyRewriteConfig &config, + ArrayRef<std::string> disabledPatterns, + ArrayRef<std::string> enabledPatterns) { return std::make_unique<Canonicalizer>(config, disabledPatterns, enabledPatterns); } |