[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Sep 4 11:20:29 PDT 2006



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.183 -> 1.184
---
Log message:

Hack around a regression I introduced yesterday


---
Diffs of the changes:  (+3 -0)

 LiveIntervalAnalysis.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.183 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.184
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.183	Sun Sep  3 03:07:11 2006
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Mon Sep  4 13:20:15 2006
@@ -619,6 +619,9 @@
         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)






More information about the llvm-commits mailing list