[flang-commits] [mlir] [flang] [mlir] Expose type and attribute names in the MLIRContext and abstract type/attr classes (PR #72189)
Fehr Mathieu via flang-commits
flang-commits at lists.llvm.org
Wed Nov 29 19:48:51 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;
----------------
math-fehr wrote:
Oh my bad, it got erased again in a following PR, I'll add it back now!
Sorry about that!
https://github.com/llvm/llvm-project/pull/72189
More information about the flang-commits
mailing list