forked from OSchip/llvm-project
Fix an assertion that can never fire because the condition ANDed with the string is just true or 1.
llvm-svn: 267324
This commit is contained in:
parent
dbe4187d11
commit
beb77bd89f
|
@ -107,7 +107,7 @@ MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
|
|||
else if (Cond[i].isImm())
|
||||
MIB.addImm(Cond[i].getImm());
|
||||
else
|
||||
assert(true && "Cannot copy operand");
|
||||
assert(false && "Cannot copy operand");
|
||||
}
|
||||
MIB.addMBB(TBB);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue