mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29cc0b3660
commit
0991dfbbe0
@ -4132,7 +4132,6 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
|
||||
SDV = DAG.getDbgValue(Variable, V, Offset, dl, SDNodeOrder);
|
||||
DAG.AddDbgValue(SDV, 0, false);
|
||||
} else {
|
||||
bool createUndef = false;
|
||||
// Do not use getValue() in here; we don't want to generate code at
|
||||
// this point if it hasn't been done yet.
|
||||
SDValue N = NodeMap[V];
|
||||
@ -4150,9 +4149,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
|
||||
// Remember it for later.
|
||||
DanglingDebugInfo DDI(&DI, dl, SDNodeOrder);
|
||||
DanglingDebugInfoMap[V] = DDI;
|
||||
} else
|
||||
createUndef = true;
|
||||
if (createUndef) {
|
||||
} else {
|
||||
// We may expand this to cover more cases. One case where we have no
|
||||
// data available is an unreferenced parameter; we need this fallback.
|
||||
SDV = DAG.getDbgValue(Variable, UndefValue::get(V->getType()),
|
||||
|
Loading…
Reference in New Issue
Block a user