mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
LinearScanner hotspot.
llvm-svn: 31153
This commit is contained in:
parent
605cf8cc6a
commit
47b2dcf17f
@ -460,11 +460,10 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur)
|
|||||||
|
|
||||||
bool ConflictsWithFixed = false;
|
bool ConflictsWithFixed = false;
|
||||||
for (unsigned i = 0, e = fixed_.size(); i != e; ++i) {
|
for (unsigned i = 0, e = fixed_.size(); i != e; ++i) {
|
||||||
if (physReg == fixed_[i].first->reg ||
|
IntervalPtr &IP = fixed_[i];
|
||||||
RegAliases.count(fixed_[i].first->reg)) {
|
if (physReg == IP.first->reg || RegAliases.count(IP.first->reg)) {
|
||||||
// Okay, this reg is on the fixed list. Check to see if we actually
|
// Okay, this reg is on the fixed list. Check to see if we actually
|
||||||
// conflict.
|
// conflict.
|
||||||
IntervalPtr &IP = fixed_[i];
|
|
||||||
LiveInterval *I = IP.first;
|
LiveInterval *I = IP.first;
|
||||||
if (I->endNumber() > StartPosition) {
|
if (I->endNumber() > StartPosition) {
|
||||||
LiveInterval::iterator II = I->advanceTo(IP.second, StartPosition);
|
LiveInterval::iterator II = I->advanceTo(IP.second, StartPosition);
|
||||||
|
Loading…
Reference in New Issue
Block a user