From: Evan Cheng Date: Mon, 26 Apr 2010 08:24:07 +0000 (+0000) Subject: Temporary disable spiller modifying dbg_value. It's breaking build. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6cd4b342617f9729101c987739507e8e2527bf0f;p=oota-llvm.git Temporary disable spiller modifying dbg_value. It's breaking build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102327 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 9e6c70db403..3e374174654 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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?");