A fail to match coprocessor number and register number must fail instead of assert.
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 14 Feb 2011 21:10:33 +0000 (21:10 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 14 Feb 2011 21:10:33 +0000 (21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125521 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index fd7e7734ad6eed8563043ee36fd3db16126a1744..e9a507088a615c192b2645e8ce4e6fb6e3d98f55 100644 (file)
@@ -771,7 +771,6 @@ static int MatchCoprocessorOperandName(StringRef Name, char CoprocOp) {
     break;
   }
 
-  llvm_unreachable("Unhandled coprocessor operand string!");
   return -1;
 }