From e98d646b1194c522b121e1a70906efe4ea578fc8 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Mon, 14 Feb 2011 21:10:33 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 1 - 1 file changed, 1 deletion(-) 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; }