[Mlir-commits] [mlir] [mlir][debug] Make DICompileUnitAttr recursive. (PR #190808)

Tobias Gysi llvmlistbot at llvm.org
Tue Apr 7 12:58:47 PDT 2026


================

----------------
gysit wrote:

```suggestion
    OptionalParameter<"DIFileAttr">:$file,
    OptionalParameter<"StringAttr">:$producer,
    OptionalParameter<"bool">:$isOptimized,
    OptionalParameter<"DIEmissionKind">:$emissionKind,
```
I believe for the other self recursive types we intentionally made all fields optional so that a self recursive instance does not carry any data (if it would that would be redundant and there may still be cycles depending on the field).

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


More information about the Mlir-commits mailing list