[llvm] [InstCombine] Retain debug information on store to null instruction (PR #86105)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 09:55:37 PDT 2024


dwblaikie wrote:

This'll need test coverage (a fully reduced IR test case)

And it'd be worth having an explanation of what instructions are the input to this instruction (to know what location it should have) and whether they're in the same basic block or not (it's OK to preserve the location if we aren't making locations reachable that were not reachable in the original program): https://llvm.org/docs/HowToUpdateDebugInfo.html

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


More information about the llvm-commits mailing list