[PATCH] D67770: [Debuginfo] dbg.value points to undef value after Induction Variable Simplification.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 23:08:24 PDT 2019


avl marked an inline comment as done.
avl added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/Local.cpp:1514
 
+void llvm::reattachDbgValueFromOldInstrToNew(Instruction &Old,
+                                             Instruction &New) {
----------------
vsk wrote:
> I think llvm::replaceAllDbgUsesWith already implements this functionality. Would that work here?
Indeed. Thanks!


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

https://reviews.llvm.org/D67770





More information about the llvm-commits mailing list