[Mlir-commits] [mlir] f6aceb7 - Update the documentation for the MLIR Dialect class (NFC)

Mehdi Amini llvmlistbot at llvm.org
Wed Sep 23 09:16:20 PDT 2020


Author: Mehdi Amini
Date: 2020-09-23T16:16:13Z
New Revision: f6aceb72d6b2d13d03713ba05bc47c0f9e550c26

URL: https://github.com/llvm/llvm-project/commit/f6aceb72d6b2d13d03713ba05bc47c0f9e550c26
DIFF: https://github.com/llvm/llvm-project/commit/f6aceb72d6b2d13d03713ba05bc47c0f9e550c26.diff

LOG: Update the documentation for the MLIR Dialect class (NFC)

Added: 
    

Modified: 
    mlir/include/mlir/IR/Dialect.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/Dialect.h b/mlir/include/mlir/IR/Dialect.h
index b85b7bdfd1f2..6395b338bce5 100644
--- a/mlir/include/mlir/IR/Dialect.h
+++ b/mlir/include/mlir/IR/Dialect.h
@@ -27,12 +27,12 @@ class Type;
 
 using DialectAllocatorFunction = std::function<Dialect *(MLIRContext *)>;
 
-/// Dialects are groups of MLIR operations and behavior associated with the
-/// entire group.  For example, hooks into other systems for constant folding,
-/// default named types for asm printing, etc.
+/// Dialects are groups of MLIR operations, types and attributes, as well as
+/// behavior associated with the entire group.  For example, hooks into other
+/// systems for constant folding, interfaces, default named types for asm
+/// printing, etc.
 ///
-/// Instances of the dialect object are global across all MLIRContext's that may
-/// be active in the process.
+/// Instances of the dialect object are loaded in a specific MLIRContext.
 ///
 class Dialect {
 public:


        


More information about the Mlir-commits mailing list