summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-26 08:24:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-26 08:24:07 +0000
commit5ad3cc1d5ef276165c69f307ff5dce1c0fda886d (patch)
tree5f010a61ce2d2c84a6bdb31d217d1ecf5c9a3c30 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent1ff9d1b63e32135da1f8fb73021b3591adc7175b (diff)
downloadbcm5719-llvm-5ad3cc1d5ef276165c69f307ff5dce1c0fda886d.tar.gz
bcm5719-llvm-5ad3cc1d5ef276165c69f307ff5dce1c0fda886d.zip
Temporary disable spiller modifying dbg_value. It's breaking build.
llvm-svn: 102327
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 9e6c70db403..3e374174654 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -1296,6 +1296,8 @@ rewriteInstructionsForSpills(const LiveInterval &li, bool TrySplit,
MachineOperand &O = ri.getOperand();
++ri;
if (MI->isDebugValue()) {
+#if 0
+ // Disabled temporarily.
// Modify DBG_VALUE now that the value is in a spill slot.
uint64_t Offset = MI->getOperand(1).getImm();
const MDNode *MDPtr = MI->getOperand(2).getMetadata();
@@ -1308,11 +1310,14 @@ rewriteInstructionsForSpills(const LiveInterval &li, bool TrySplit,
MachineBasicBlock *MBB = MI->getParent();
MBB->insert(MBB->erase(MI), NewDV);
} else {
+#endif
DEBUG(dbgs() << "Removing debug info due to spill:" << "\t" << *MI);
RemoveMachineInstrFromMaps(MI);
vrm.RemoveMachineInstrFromMaps(MI);
MI->eraseFromParent();
+#if 0
}
+#endif
continue;
}
assert(!O.isImplicit() && "Spilling register that's used as implicit use?");
OpenPOWER on IntegriCloud