[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 10:15:35 PDT 2024


abidh wrote:


> When you say your frontend was generating those attributes, do you mean that's what they look like after importing into the llvm dialect? 

The frontend here is `flang`. Yes, thats how the attributes look just before going through LLVMIR translation.
 
> As long as _your_ `t2` is only ever referred to by `t1`, then it just serves the purpose of `t2'` in my example, and is ok.

I guess the problem is that `t2` could be referred outside of `t1` and that case is currently unhandled. In my case, it was a local variable of type `t2` that triggered it.


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


More information about the flang-commits mailing list