mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-17 12:40:40 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6fd5a6000b
commit
6fcb6e454b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user