projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9e0ff
)
Hack around a regression I introduced yesterday
author
Chris Lattner
<sabre@nondot.org>
Mon, 4 Sep 2006 18:20:15 +0000
(18:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 4 Sep 2006 18:20:15 +0000
(18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30098
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 02291d53b6e9d5c02da96e2b62513c2c6aa23e10..12b967ba682246b71f5bb6e52986c892a3e1a16f 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
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)