mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Don't crash when a value is defined after the last split point.
llvm-svn: 128962
This commit is contained in:
parent
88a0367967
commit
2bba415e6f
@ -673,7 +673,8 @@ void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) {
|
||||
"Range cannot span basic blocks");
|
||||
|
||||
// The complement interval will be extended as needed by extendRange().
|
||||
markComplexMapped(0, ParentVNI);
|
||||
if (ParentVNI)
|
||||
markComplexMapped(0, ParentVNI);
|
||||
DEBUG(dbgs() << " overlapIntv [" << Start << ';' << End << "):");
|
||||
RegAssign.insert(Start, End, OpenIdx);
|
||||
DEBUG(dump());
|
||||
|
Loading…
Reference in New Issue
Block a user