mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 00:50:58 +00:00
Remove default case from fully covered switch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c4e61ff0a
commit
d6f5a581ab
@ -18,7 +18,6 @@ using namespace llvm;
|
||||
|
||||
PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) {
|
||||
switch (Opcode) {
|
||||
default: llvm_unreachable("Unknown PPC branch opcode!");
|
||||
case PPC::PRED_EQ: return PPC::PRED_NE;
|
||||
case PPC::PRED_NE: return PPC::PRED_EQ;
|
||||
case PPC::PRED_LT: return PPC::PRED_GE;
|
||||
@ -28,4 +27,5 @@ PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) {
|
||||
case PPC::PRED_NU: return PPC::PRED_UN;
|
||||
case PPC::PRED_UN: return PPC::PRED_NU;
|
||||
}
|
||||
llvm_unreachable("Unknown PPC branch opcode!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user