aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-02-14 21:10:33 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-02-14 21:10:33 +0000
commite98d646b1194c522b121e1a70906efe4ea578fc8 (patch)
tree09db24c57c112fc389bb76a738849e57ff348a7d
parentc08830d46d7a5943fdb5e0d21354d9c06aa21b0e (diff)
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
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index fd7e7734ad..e9a507088a 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;
}