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

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 11:07:42 PDT 2019


vsk added inline comments.


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


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

https://reviews.llvm.org/D67770





More information about the llvm-commits mailing list