From: Benjamin Kramer Date: Fri, 8 Jul 2011 20:18:13 +0000 (+0000) Subject: Silence compiler warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=70629abe31ec9737766f47611e72b422f6d7d129;p=oota-llvm.git Silence compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134730 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index 11ad5267638..41c1dd3919b 100644 --- a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -15,6 +15,7 @@ #include "MipsInstPrinter.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" +#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/StringExtras.h" using namespace llvm; @@ -57,6 +58,7 @@ const char* Mips::MipsFCCToString(Mips::CondCode CC) { case FCOND_NGT: case FCOND_GT: return "ngt"; } + llvm_unreachable("Impossible condition code!"); } StringRef MipsInstPrinter::getOpcodeName(unsigned Opcode) const {