diff --git a/lib/Target/Mips/MipsFastISel.cpp b/lib/Target/Mips/MipsFastISel.cpp index a720ca9d7e6..c7ba4add3e5 100644 --- a/lib/Target/Mips/MipsFastISel.cpp +++ b/lib/Target/Mips/MipsFastISel.cpp @@ -673,7 +673,7 @@ bool MipsFastISel::SelectCmp(const Instruction *I) { CondMovOpc = Mips::MOVF_I; break; default: - break; + llvm_unreachable("Only switching of a subset of CCs."); } unsigned RegWithZero = createResultReg(&Mips::GPR32RegClass); unsigned RegWithOne = createResultReg(&Mips::GPR32RegClass);