diff --git a/mlir/docs/Interfaces.md b/mlir/docs/Interfaces.md --- a/mlir/docs/Interfaces.md +++ b/mlir/docs/Interfaces.md @@ -285,10 +285,10 @@ MLIRContext context; /* ... */; - // Register the interface model with the type in the given context before - // using it. The dialect contaiing the type is expected to have been loaded + // Attach the interface model to the type in the given context before + // using it. The dialect containing the type is expected to have been loaded // at this point. - IntegerType::registerInterface(context); + IntegerType::attachInterface(context); } ```