diff --git a/mlir/include/mlir/IR/Dialect.h b/mlir/include/mlir/IR/Dialect.h index 36571b9cbde9ef..b85b7bdfd1f2a8 100644 --- a/mlir/include/mlir/IR/Dialect.h +++ b/mlir/include/mlir/IR/Dialect.h @@ -232,7 +232,7 @@ class Dialect { /// matching dialect. /// This allows for decoupling the list of dialects "available" from the /// dialects loaded in the Context. The parser in particular will lazily load -/// dialects in in the Context as operations are encountered. +/// dialects in the Context as operations are encountered. class DialectRegistry { using MapTy = std::map>; @@ -284,7 +284,7 @@ class DialectRegistry { }; /// Deprecated: this provides a global registry for convenience, while we're -/// transitionning the registration mechanism to a stateless approach. +/// transitioning the registration mechanism to a stateless approach. DialectRegistry &getGlobalDialectRegistry(); /// This controls globally whether the dialect registry is / isn't enabled.