diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-26 16:49:23 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-26 16:49:23 +0000 |
commit | e459d55f2832b52a3cfe0350d791c88a0a45fad8 (patch) | |
tree | c7c64a1e85f6b8262a0b87ca62ff8e41412d988a /lib/CodeGen | |
parent | e4f506ff4ba8ddc70b6b7c77feceabb0b53b6ccf (diff) |
Don't verify physical registers going into landing pads.
Magic is happening that we don't understand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/MachineVerifier.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineVerifier.cpp b/lib/CodeGen/MachineVerifier.cpp index 9ef04c0784..2c2b7fe94d 100644 --- a/lib/CodeGen/MachineVerifier.cpp +++ b/lib/CodeGen/MachineVerifier.cpp @@ -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) { |