[Mlir-commits] [mlir] [MLIR][LLVM] Support Recursive DITypes (PR #80251)
Tobias Gysi
llvmlistbot at llvm.org
Wed Mar 13 12:07:13 PDT 2024
================
@@ -102,6 +120,15 @@ class DebugTranslation {
/// metadata.
DenseMap<Attribute, llvm::DINode *> attrToNode;
+ /// A mapping from DistinctAttr ID of DIRecursiveTypeAttr to the translated
+ /// DIType.
+ llvm::MapVector<DistinctAttr, llvm::DIType *> recursiveTypeMap;
+
+ /// A mapping between DistinctAttr ID and the translated LLVM metadata node.
----------------
gysit wrote:
Too many IDs :). Ignore my comment then! Or use distinct ID or so...
https://github.com/llvm/llvm-project/pull/80251
More information about the Mlir-commits
mailing list