Don't verify physical registers going into landing pads.

Magic is happening that we don't understand.

llvm-svn: 117370
This commit is contained in:
Jakob Stoklund Olesen 2010-10-26 16:49:23 +00:00
parent e8ae98817a
commit 9eabfa3a39
1 changed files with 8 additions and 0 deletions

View File

@ -1024,6 +1024,14 @@ void MachineVerifier::verifyLiveIntervals() {
}
for (;;) {
assert(LiveInts->isLiveInToMBB(LI, MFI));
// We don't know how to track physregs into a landing pad.
if (TargetRegisterInfo::isPhysicalRegister(LI.reg) &&
MFI->isLandingPad()) {
if (&*MFI == EndMBB)
break;
++MFI;
continue;
}
// Check that VNI is live-out of all predecessors.
for (MachineBasicBlock::const_pred_iterator PI = MFI->pred_begin(),
PE = MFI->pred_end(); PI != PE; ++PI) {