mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
LiveRangeEdit: Check for completely empy subranges after removing ValNos.
Completely empty subranges are not allowed and must be removed when subreg liveness is enabled. llvm-svn: 224804
This commit is contained in:
parent
2e61b0a55a
commit
9adcb401e3
@ -292,6 +292,7 @@ void LiveRangeEdit::eliminateDeadDef(MachineInstr *MI, ToShrinkSet &ToShrink) {
|
||||
if (VNInfo *SVNI = S.getVNInfoAt(Idx))
|
||||
S.removeValNo(SVNI);
|
||||
}
|
||||
LI.removeEmptySubRanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user