Issue |
136532
|
Summary |
[DebugInfo][LoopDistribute] Removing instructions without salvaging the debug variable Info
|
Labels |
question,
debuginfo,
llvm:transforms
|
Assignees |
|
Reporter |
Apochens
|
I found a case in LoopDistribute, where debug value informaiton is not salvaged when removing unused instructions in the distributed loops. Here is an example: https://godbolt.org/z/soc3YxGMe.
According to the documentation _How to Update Debug Info_, the debug value info should be salvaged. However, in LoopDistribute, although some of the debug value addresses inside a distributed loop become `poison`, the correct addresses of them can be obtained in other distributed loop. In addition, salvaging the debug value info will leads to some long `DIExpression`s in the given example. So, it seems that the current debug info maintenance in LoopDistribute works well.
I'm not sure whether the conclusion is right. So, this issue is currently a question. cc @OCHyams
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs