mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d6eb5a018
commit
ec7e4fff96
@ -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