[PATCH] D23715: Add @llvm.dbg.value entries for the phi node created by -mem2reg

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 13:09:15 PDT 2016


aprantl added inline comments.

================
Comment at: lib/Transforms/Utils/Local.cpp:1147
@@ +1146,3 @@
+/// that has an associated llvm.dbg.decl intrinsic.
+bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
+                                           PHINode *APN, DIBuilder &Builder) {
----------------
What's the point of this return value? Isn't it always true?


https://reviews.llvm.org/D23715





More information about the llvm-commits mailing list