From c2467c4e9b7997bcab43e858b4448e2c6e0d9224 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 12 Jun 2013 20:57:32 +0000 Subject: Revert r183854 (PPC: Fix switch warnings from r183841) Now that the PRED_BAD has been removed, this is failing the Clang -Werror build due to -Wcovered-switch-default. llvm-svn: 183863 --- llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp') diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index f0a57c080a7..432167e3355 100644 --- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp @@ -90,7 +90,6 @@ void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, if (StringRef(Modifier) == "cc") { switch ((PPC::Predicate)Code) { - default: llvm_unreachable("Bad predicate!"); case PPC::PRED_LT: O << "lt"; return; case PPC::PRED_LE: O << "le"; return; case PPC::PRED_EQ: O << "eq"; return; -- cgit v1.2.3