mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 23:25:06 +00:00
Replace the odd kill# hack with something less fragile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -206,7 +206,7 @@ LiveInterval::addRangeFrom(LiveRange LR, iterator From) {
|
||||
// endpoint as well.
|
||||
if (End > it->end)
|
||||
extendIntervalEndTo(it, End);
|
||||
else
|
||||
else if (End < it->end)
|
||||
// Overlapping intervals, there might have been a kill here.
|
||||
removeKill(it->valno, End);
|
||||
return it;
|
||||
@@ -631,6 +631,8 @@ void LiveInterval::print(std::ostream &OS, const MRegisterInfo *MRI) const {
|
||||
if (j != ee-1)
|
||||
OS << " ";
|
||||
}
|
||||
if (vni->hasPHIKill)
|
||||
OS << " phi";
|
||||
OS << ")";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user