[flang-commits] [mlir] [flang] [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (PR #72189)

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Wed Nov 29 19:45:56 PST 2023


================
@@ -212,6 +212,9 @@ class MLIRContextImpl {
   DenseMap<TypeID, AbstractType *> registeredTypes;
   StorageUniquer typeUniquer;
 
+  /// This is a mapping from type name to the abstract type describing it.
+  llvm::StringMap<AbstractType *> nameToType;
----------------
joker-eph wrote:

did you?

https://github.com/llvm/llvm-project/pull/72189


More information about the flang-commits mailing list