aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-12 20:57:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-12 20:57:32 +0000
commit7e17024400941889b6fe1b178e5374f75c34d9ab (patch)
tree88137637c4d577a3c7624cea0e2ca59ac1206b5f /lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
parent609baa376a6f3e0c3930555c5055e6da193fd8a8 (diff)
downloadexternal_llvm-7e17024400941889b6fe1b178e5374f75c34d9ab.zip
external_llvm-7e17024400941889b6fe1b178e5374f75c34d9ab.tar.gz
external_llvm-7e17024400941889b6fe1b178e5374f75c34d9ab.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index f0a57c0..432167e 100644
--- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/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;