mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Intervals are half-open.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
e583c892d8
commit
dbc36091ff
1 file changed
+1
-1
@@ -550,7 +550,7 @@ void LiveIntervalMap::addSimpleRange(SlotIndex Start, SlotIndex End,
|
||||
|
||||
// ParentVNI is a complex value. We must map per MBB.
|
||||
MachineFunction::iterator MBB = lis_.getMBBFromIndex(Start);
|
||||
MachineFunction::iterator MBBE = lis_.getMBBFromIndex(End);
|
||||
MachineFunction::iterator MBBE = lis_.getMBBFromIndex(End.getPrevSlot());
|
||||
|
||||
if (MBB == MBBE) {
|
||||
li_->addRange(LiveRange(Start, End, VNI));
|
||||
|
||||
Reference in new issue
Block a user