summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-05-19 01:56:19 +0000
committerCameron Zwarich <zwarich@apple.com>2011-05-19 01:56:19 +0000
commitfe5795a1f63fc073cbb83594b1d04cff975d198e (patch)
tree2a4dfd77899a01aad8be1881cb3f654c1792f753 /llvm/lib/CodeGen/MachineVerifier.cpp
parent6efb64ea8e2d43471606c5ec7fcbc5f708ef80e3 (diff)
downloadbcm5719-llvm-fe5795a1f63fc073cbb83594b1d04cff975d198e.tar.gz
bcm5719-llvm-fe5795a1f63fc073cbb83594b1d04cff975d198e.zip
Revert r128961 because it didn't include a test and causes the verifier to fail
on CodeGen/X86/2007-05-07-InvokeSRet.ll. There is probably a bug here that was fixed by r128961, but since there is no test or reference to a source file I have to revert it. llvm-svn: 131618
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineVerifier.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp
index fa9092b5ce8..f3478c4790c 100644
--- a/llvm/lib/CodeGen/MachineVerifier.cpp
+++ b/llvm/lib/CodeGen/MachineVerifier.cpp
@@ -410,11 +410,6 @@ MachineVerifier::visitMachineBasicBlockBefore(const MachineBasicBlock *MBB) {
SmallVector<MachineOperand, 4> Cond;
if (!TII->AnalyzeBranch(*const_cast<MachineBasicBlock *>(MBB),
TBB, FBB, Cond)) {
- // If the block branches directly to a landing pad successor, pretend that
- // the landing pad is a normal block.
- LandingPadSuccs.erase(TBB);
- LandingPadSuccs.erase(FBB);
-
// Ok, AnalyzeBranch thinks it knows what's going on with this block. Let's
// check whether its answers match up with reality.
if (!TBB && !FBB) {
OpenPOWER on IntegriCloud