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:
parent
e4853baa4b
commit
ffe1dbc840
@ -638,7 +638,7 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
|
||||
end = MIIdx.getStoreIndex();
|
||||
} else {
|
||||
DEBUG(dbgs() << " live through");
|
||||
end = baseIndex;
|
||||
end = getMBBEndIdx(MBB);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user