mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Suppress -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
491f54f1fd
commit
afc1587800
@ -153,8 +153,8 @@ void CodePlacementOpt::UpdateTerminator(MachineBasicBlock *MBB) {
|
||||
|
||||
MachineBasicBlock *TBB = 0, *FBB = 0;
|
||||
SmallVector<MachineOperand, 4> Cond;
|
||||
bool B = TII->AnalyzeBranch(*MBB, TBB, FBB, Cond);
|
||||
assert(!B && "UpdateTerminators requires analyzable predecessors!");
|
||||
assert(!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond) &&
|
||||
"UpdateTerminators requires analyzable predecessors!");
|
||||
if (Cond.empty()) {
|
||||
if (TBB) {
|
||||
// The block has an unconditional branch. If its successor is now
|
||||
|
Loading…
Reference in New Issue
Block a user