forked from OSchip/llvm-project
Live-through live interval is [mbb start, mbb end+1].
llvm-svn: 52431
This commit is contained in:
parent
1eb69314fa
commit
f873ed1b10
|
@ -366,7 +366,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
|
|||
for (unsigned i = 0, e = vi.AliveBlocks.size(); i != e; ++i) {
|
||||
if (vi.AliveBlocks[i]) {
|
||||
LiveRange LR(getMBBStartIdx(i),
|
||||
getMBBEndIdx(i),
|
||||
getMBBEndIdx(i)+1, // MBB ends at -1.
|
||||
ValNo);
|
||||
interval.addRange(LR);
|
||||
DOUT << " +" << LR;
|
||||
|
|
Loading…
Reference in New Issue