[Mlir-commits] [mlir] 0620f99 - Fix minor typos in comments in MLIR Pass.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Aug 7 19:01:41 PDT 2023
Author: Mehdi Amini
Date: 2023-08-07T19:01:14-07:00
New Revision: 0620f99de5f7a94be8d2799bcc0052173abab8a0
URL: https://github.com/llvm/llvm-project/commit/0620f99de5f7a94be8d2799bcc0052173abab8a0
DIFF: https://github.com/llvm/llvm-project/commit/0620f99de5f7a94be8d2799bcc0052173abab8a0.diff
LOG: Fix minor typos in comments in MLIR Pass.cpp (NFC)
Added:
Modified:
mlir/include/mlir/Pass/Pass.h
mlir/lib/Pass/Pass.cpp
Removed:
################################################################################
diff --git a/mlir/include/mlir/Pass/Pass.h b/mlir/include/mlir/Pass/Pass.h
index 028ab4bc2cda92..1562351e623144 100644
--- a/mlir/include/mlir/Pass/Pass.h
+++ b/mlir/include/mlir/Pass/Pass.h
@@ -182,7 +182,7 @@ class Pass {
/// invoked within this hook.
/// This method is invoked after all dependent dialects for the pipeline are
/// loaded, and is not allowed to load any further dialects (override the
- /// `geDependentDialects()` for this purpose instead). Returns a LogicalResult
+ /// `getDependentDialects()` for this purpose instead). Returns a LogicalResult
/// to indicate failure, in which case the pass pipeline won't execute.
virtual LogicalResult initialize(MLIRContext *context) { return success(); }
diff --git a/mlir/lib/Pass/Pass.cpp b/mlir/lib/Pass/Pass.cpp
index fe4597f3df3d25..3b41cbe48124ea 100644
--- a/mlir/lib/Pass/Pass.cpp
+++ b/mlir/lib/Pass/Pass.cpp
@@ -820,7 +820,7 @@ LogicalResult PassManager::run(Operation *op) {
if (failed(getImpl().finalizePassList(context)))
return failure();
- // Notify the context that we start running a pipeline for book keeping.
+ // Notify the context that we start running a pipeline for bookkeeping.
context->enterMultiThreadedExecution();
// Initialize all of the passes within the pass manager with a new generation.
More information about the Mlir-commits
mailing list