summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 18:20:15 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 18:20:15 +0000
commitbff0b5969f31203865f4e6600bb612cde69694a5 (patch)
treed5668aa2ab14b14e93b355d63a404d55ee729d51 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent373be1d1a2bc4cc10b383e90ea4944a55439610b (diff)
downloadbcm5719-llvm-bff0b5969f31203865f4e6600bb612cde69694a5.tar.gz
bcm5719-llvm-bff0b5969f31203865f4e6600bb612cde69694a5.zip
Hack around a regression I introduced yesterday
llvm-svn: 30098
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 02291d53b6e..12b967ba682 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -619,6 +619,9 @@ void LiveIntervals::computeIntervals() {
tm_->getInstrInfo()->get(mi->getOpcode());
DEBUG(std::cerr << MIIndex << "\t" << *mi);
+ // FIXME: Why is this needed?
+ MIIndex = getInstructionIndex(mi);
+
// handle implicit defs
if (tid.ImplicitDefs) {
for (const unsigned* id = tid.ImplicitDefs; *id; ++id)
OpenPOWER on IntegriCloud