1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

When a physreg is live-in and live through a basic block, make sure its live

range covers the entire block.

The live range can't be terminated at a random instruction.

llvm-svn: 130619
This commit is contained in:
Jakob Stoklund Olesen 2011-04-30 19:12:33 +00:00
parent e4853baa4b
commit ffe1dbc840

View File

@ -638,7 +638,7 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
end = MIIdx.getStoreIndex();
} else {
DEBUG(dbgs() << " live through");
end = baseIndex;
end = getMBBEndIdx(MBB);
}
}