[Mlir-commits] [flang] [mlir] [MLIR][LLVM] Add variant part debug info support (PR #195321)

Tobias Gysi llvmlistbot at llvm.org
Sat May 2 01:52:00 PDT 2026


================
@@ -547,9 +550,10 @@ def LLVM_DIDerivedTypeAttr : LLVM_Attr<"DIDerivedType", "di_derived_type",
     OptionalParameter<"uint64_t">:$offsetInBits,
     OptionalParameter<"std::optional<unsigned>">:$dwarfAddressSpace,
     OptionalParameter<"DIFlags", "DIFlags::Zero">:$flags,
-    OptionalParameter<"DINodeAttr">:$extraData
+    OptionalParameter<"::mlir::Attribute">:$extraData
----------------
gysit wrote:

```suggestion
    OptionalParameter<"Attribute">:$extraData
```
nit: let's drop the namespace prefix for consistency. 

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


More information about the Mlir-commits mailing list