llvm.org GIT mirror llvm / 0991dfb
Simplify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112305 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 10 years ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
41314131 SDV = DAG.getDbgValue(Variable, V, Offset, dl, SDNodeOrder);
41324132 DAG.AddDbgValue(SDV, 0, false);
41334133 } else {
4134 bool createUndef = false;
41354134 // Do not use getValue() in here; we don't want to generate code at
41364135 // this point if it hasn't been done yet.
41374136 SDValue N = NodeMap[V];
41494148 // Remember it for later.
41504149 DanglingDebugInfo DDI(&DI, dl, SDNodeOrder);
41514150 DanglingDebugInfoMap[V] = DDI;
4152 } else
4153 createUndef = true;
4154 if (createUndef) {
4151 } else {
41554152 // We may expand this to cover more cases. One case where we have no
41564153 // data available is an unreferenced parameter; we need this fallback.
41574154 SDV = DAG.getDbgValue(Variable, UndefValue::get(V->getType()),