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:
Craig Topper 2016-04-24 04:38:29 +00:00
parent dbe4187d11
commit beb77bd89f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}