[Mlir-commits] [mlir] [mlir][LLVMIR] Avoid duplicate retained local variables (PR #209911)

Tobias Gysi llvmlistbot at llvm.org
Wed Jul 15 22:57:31 PDT 2026


https://github.com/gysit commented:

Thanks for looking into this.

I believe the correct approach here would be to make DOLocalVariableAttr self recursive similar to the subprogram. That way we use the same machinery for all recursive nodes and we can handle arbitrary debug info graphs.

See https://github.com/llvm/llvm-project/pull/190808 for an example PR that makes a debug info node self recursive. 

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


More information about the Mlir-commits mailing list