mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Fix a simple error in renumbering kill markaers, that took an inordinant amount of time to track down.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6e08738d4b
commit
309c6162c6
@ -213,7 +213,7 @@ void LiveIntervals::computeNumbering() {
|
|||||||
|
|
||||||
unsigned index = (vni->kills[i]-1) / InstrSlots::NUM;
|
unsigned index = (vni->kills[i]-1) / InstrSlots::NUM;
|
||||||
unsigned offset = vni->kills[i] % InstrSlots::NUM;
|
unsigned offset = vni->kills[i] % InstrSlots::NUM;
|
||||||
if (offset == InstrSlots::STORE) {
|
if (offset == InstrSlots::LOAD) {
|
||||||
std::vector<IdxMBBPair>::const_iterator I =
|
std::vector<IdxMBBPair>::const_iterator I =
|
||||||
std::lower_bound(OldI2MBB.begin(), OldI2MBB.end(), vni->kills[i]);
|
std::lower_bound(OldI2MBB.begin(), OldI2MBB.end(), vni->kills[i]);
|
||||||
--I;
|
--I;
|
||||||
|
Loading…
Reference in New Issue
Block a user