[llvm] [DebugInfo][X86] Use merged DebugLoc in replaceBranchWithTailCall (PR #189509)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 03:03:30 PDT 2026


OCHyams wrote:

This one is tricky as reading the [docs](https://llvm.org/docs/HowToUpdateDebugInfo.html) I could see how we would arrive at the conclusion to merge these. But as others have said, that doesn't seem right for this case because the current behaviour is neither bad for stepping nor bad for SPGO.

I agree with the others and would also vote to keep existing behaviour unless it can be shown/explained how this is bad for either SPGO or debugging.


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


More information about the llvm-commits mailing list