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

Tobias Gysi llvmlistbot at llvm.org
Wed Mar 13 10:39:27 PDT 2024


================
@@ -52,9 +52,9 @@ class DILocalScopeAttr : public DIScopeAttr {
 };
 
 /// This class represents a LLVM attribute that describes a debug info type.
-class DITypeAttr : public DINodeAttr {
+class DITypeAttr : public DIScopeAttr {
----------------
gysit wrote:

This probably should either also be reverted to deriving from DINodeAttr or we decide to follow the LLVM dialect class hierarchy but then DIScopeAttr::classof needs to include all the types? I am fine with both solutions.

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


More information about the Mlir-commits mailing list