diff options
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 920cda9..eee1f45 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp @@ -130,9 +130,8 @@ void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, case PPC::PRED_NU: O << "nu"; return; - default: - llvm_unreachable("Invalid predicate code"); } + llvm_unreachable("Invalid predicate code"); } if (StringRef(Modifier) == "pm") { @@ -166,9 +165,8 @@ void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, case PPC::PRED_NU_PLUS: O << "+"; return; - default: - llvm_unreachable("Invalid predicate code"); } + llvm_unreachable("Invalid predicate code"); } assert(StringRef(Modifier) == "reg" && |