diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-04-24 04:38:29 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-04-24 04:38:29 +0000 |
commit | beb77bd89fbb3661903ca5dbc39fee7454227536 (patch) | |
tree | ce79002a48297284487a708c3e0b0f78b4236d3e /llvm/lib/Target | |
parent | dbe4187d11b3833f500138d4120513297fdd33f4 (diff) | |
download | bcm5719-llvm-beb77bd89fbb3661903ca5dbc39fee7454227536.tar.gz bcm5719-llvm-beb77bd89fbb3661903ca5dbc39fee7454227536.zip |
Fix an assertion that can never fire because the condition ANDed with the string is just true or 1.
llvm-svn: 267324
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/Mips/MipsInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.cpp b/llvm/lib/Target/Mips/MipsInstrInfo.cpp index 0f4e820fb00..a1bfba0c354 100644 --- a/llvm/lib/Target/Mips/MipsInstrInfo.cpp +++ b/llvm/lib/Target/Mips/MipsInstrInfo.cpp @@ -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); } |