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:
6e08738
)
Fix a simple error in renumbering kill markaers, that took an inordinant amount of...
author
Owen Anderson
<resistor@mac.com>
Tue, 30 Sep 2008 22:51:54 +0000
(22:51 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 30 Sep 2008 22:51:54 +0000
(22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56889
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 4ed456bf11ab07c611956661a857034212e72210..c95279ebf26b639783b13ac6bfa610cacb120af9 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-213,7
+213,7
@@
void LiveIntervals::computeNumbering() {
unsigned index = (vni->kills[i]-1) / InstrSlots::NUM;
unsigned offset = vni->kills[i] % InstrSlots::NUM;
- if (offset == InstrSlots::
STORE
) {
+ if (offset == InstrSlots::
LOAD
) {
std::vector<IdxMBBPair>::const_iterator I =
std::lower_bound(OldI2MBB.begin(), OldI2MBB.end(), vni->kills[i]);
--I;