mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
In line with the previous patch, do not assert out if analyzing a dead basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59850a8f8f
commit
91a350ddd1
@ -368,8 +368,11 @@ void LiveIntervals::handlePhysicalRegisterDef(MachineBasicBlock* mbb,
|
||||
}
|
||||
}
|
||||
|
||||
// LiveVariables does not compute information for dead basic blocks.
|
||||
DEBUG(std::cerr << "Didn't find the end of the interval. Must be in a "
|
||||
"dead block.");
|
||||
end = getDefIndex(start)+1;
|
||||
exit:
|
||||
assert(start < end && "did not find end of interval?");
|
||||
interval.addRange(start, end);
|
||||
DEBUG(std::cerr << '\n');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user