[PATCH] D61181: [WIP][DebugInfo] Avoid SelectionDAG un-necessarily debug-referring to dead VRegs
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 09:30:51 PDT 2019
aprantl added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1265
+// the dbg.value must decompose into several DBG_VALUE insts and fragment
+// expressions.
+static void handleVRegDebugValue(const Value *V, DILocalVariable *Var,
----------------
`///`
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1280
+ SDV = DAG.getVRegDbgValue(Var, Expr, Reg, false, dl, Order);
+ DAG.AddDbgValue(SDV, Node, false);
+ } else {
----------------
early return?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61181/new/
https://reviews.llvm.org/D61181
More information about the llvm-commits
mailing list