Skip to content

Commit 0620f99

Browse files
committed
Fix minor typos in comments in MLIR Pass.cpp (NFC)
1 parent 4529797 commit 0620f99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/Pass/Pass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Pass {
182182
/// invoked within this hook.
183183
/// This method is invoked after all dependent dialects for the pipeline are
184184
/// loaded, and is not allowed to load any further dialects (override the
185-
/// `geDependentDialects()` for this purpose instead). Returns a LogicalResult
185+
/// `getDependentDialects()` for this purpose instead). Returns a LogicalResult
186186
/// to indicate failure, in which case the pass pipeline won't execute.
187187
virtual LogicalResult initialize(MLIRContext *context) { return success(); }
188188

mlir/lib/Pass/Pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ LogicalResult PassManager::run(Operation *op) {
820820
if (failed(getImpl().finalizePassList(context)))
821821
return failure();
822822

823-
// Notify the context that we start running a pipeline for book keeping.
823+
// Notify the context that we start running a pipeline for bookkeeping.
824824
context->enterMultiThreadedExecution();
825825

826826
// Initialize all of the passes within the pass manager with a new generation.

0 commit comments

Comments
 (0)