mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-21 12:38:45 +00:00
PPC: Remove default case from fully covered switch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
329d413199
commit
cf1a3b16c0
@ -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" &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user