Add an unreachable to silence warning - the switch is actually
authorEric Christopher <echristo@apple.com>
Fri, 29 Oct 2010 09:26:59 +0000 (09:26 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 29 Oct 2010 09:26:59 +0000 (09:26 +0000)
fully enumerated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117647 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index 648b54a0338568374572ca6b6b8d531f800a2e50..f18bddf77c521c0265584984d25c10457a1b2fee 100644 (file)
@@ -797,6 +797,8 @@ MatchAndEmitInstruction(SMLoc IDLoc,
   case Match_MnemonicFail:
     return Error(IDLoc, "unrecognized instruction mnemonic");
   }
+  
+  llvm_unreachable("Implement any new match types added!");
 }