[flang-commits] [flang] [mlir] [MLIR][LLVM] Make DISubprogramAttr cyclic (PR #106571)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Tue Sep 24 03:20:37 PDT 2024


abidh wrote:

Hi @zyx-billy 

Thanks for you comment. Can you kindly explain what the relationship of `t1'` and `t2'` will be with the `t1` and `t2` respectively. Will they have same rec_id.

My frontend was generating something like
```
t1 -> t2 -> t1_self
t2 -> t1_self
```
It worked if the `t1` was referenced as it will be in outer context and the `t1_self` will be resolved correctly. But `t2` did not work on its own as there was no outer `t1` to resolve the `t1_self`. So I am interested to understand the relationship of `t1'` and `t2'` with rest of the attributes.

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


More information about the flang-commits mailing list