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
This commit is contained in:
Bruno Cardoso Lopes 2011-02-14 21:10:33 +00:00
parent c08830d46d
commit e98d646b11

View File

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