[flang-commits] [flang] [mlir] [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
Tue Nov 21 20:56:43 PST 2023


math-fehr wrote:

So my understanding is that `DenseMap<StringAttr, AbstractType*>` was what was creating the problem, but I'm not sure if this is a mistake on my end or if this is not possible.

For it to work, we would need to create a `StringAttr` before loading the `builtin` dialect, is that possible? This is because when we are loading the `builtin` dialect, we need to create those `StringAttr` for the type names when we load each type/attribute.

So for now I removed it, please tell me if you see a way I could make this work!

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


More information about the flang-commits mailing list