mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 15:36:21 +00:00
Change an assertion to assert what the code actually relies upon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e12f1ac6e
commit
c3ab20e62e
@ -283,7 +283,7 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction& MF) {
|
||||
LiveInterval& DestLI = LI->getInterval(DestReg);
|
||||
LiveInterval& NewLI = LI->getInterval(NewReg);
|
||||
|
||||
assert(DestLI.containsOneValue());
|
||||
assert(DestLI.ranges.size() == 1);
|
||||
LiveRange* DestLR = DestLI.begin();
|
||||
VNInfo* NewVNI = NewLI.getVNInfoAt(DestLR->start);
|
||||
if (!NewVNI) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user