[PATCH] D74030: [DebugInfo] Avoid generating duplicate llvm.dbg.value

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 23 17:36:52 PST 2020


vsk added a comment.

@alok I had a quick stab at this to see what it would take, and the result turned out to be relatively clean: https://github.com/vedantk/llvm-project/commit/85d7fe06810fa7f6166508be73eef80f676b0fc6.diff. This handles the situation in your 'duplicate_dbgvalue.ll' test case. Lmk what you think. Feel free to commandeer the patch if you'd like, or if you don't have the bandwidth for that I can kick off a fresh review. Thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74030/new/

https://reviews.llvm.org/D74030





More information about the llvm-commits mailing list