Teach MachineBasicBlock::updateTerminator() to handle a failing TII->ReverseBranchCon...
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 22 Nov 2009 18:28:04 +0000 (18:28 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 22 Nov 2009 18:28:04 +0000 (18:28 +0000)
commite0239930ebd69336ca78843e55738a8bf2e4f2bb
tree11fb46e72a81af1715059f8877c08a4f1445f999
parent0a984f8e628e44ca72755aab793f264256723271
Teach MachineBasicBlock::updateTerminator() to handle a failing TII->ReverseBranchCondition(Cond) call.

This fixes the MallocBench/cfrac test case regression.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp