From: Bruno Cardoso Lopes Date: Mon, 14 Feb 2011 21:10:33 +0000 (+0000) Subject: A fail to match coprocessor number and register number must fail instead of assert. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e98d646b1194c522b121e1a70906efe4ea578fc8;p=oota-llvm.git A fail to match coprocessor number and register number must fail instead of assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125521 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index fd7e7734ad6..e9a507088a6 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -771,7 +771,6 @@ static int MatchCoprocessorOperandName(StringRef Name, char CoprocOp) { break; } - llvm_unreachable("Unhandled coprocessor operand string!"); return -1; }