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 | 9eabfa3a395afbf04c14c8fe0e6e9b70845ec693 (patch) | |
| tree | 77962cbe17207c20d2d60b4e55fc65753f57cef8 /llvm/lib/CodeGen | |
| parent | e8ae98817a8c2cb89b96466b12d4c5bd3bf1931b (diff) | |
| download | bcm5719-llvm-9eabfa3a395afbf04c14c8fe0e6e9b70845ec693.tar.gz bcm5719-llvm-9eabfa3a395afbf04c14c8fe0e6e9b70845ec693.zip | |
Don't verify physical registers going into landing pads.
Magic is happening that we don't understand.
llvm-svn: 117370
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineVerifier.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp index 9ef04c07849..2c2b7fe94d0 100644 --- a/llvm/lib/CodeGen/MachineVerifier.cpp +++ b/llvm/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) { |

