[Mlir-commits] [mlir] [MLIR][LLVM] Support Recursive DITypes (PR #80251)

Tobias Gysi llvmlistbot at llvm.org
Wed Mar 13 10:39:27 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:

```suggestion
  /// A mapping between recursive ID and the translated LLVM metadata node.
```
ultra nit:

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


More information about the Mlir-commits mailing list