The ConvertToMCInst() function can't fail, so remove the now dead Match_ConversionFai...
[oota-llvm.git] / lib / Target / X86 / AsmParser / X86AsmParser.cpp
index b18b968fbed0e0a8fa0d90140521be33f84e0246..d6791cea9ae8a8d3a2355bea1bbad516679471e0 100644 (file)
@@ -1585,9 +1585,6 @@ MatchInstruction(SMLoc IDLoc,
     Error(IDLoc, "instruction requires a CPU feature not currently enabled",
           EmptyRanges, matchingInlineAsm);
     return true;
-  case Match_ConversionFail:
-    return Error(IDLoc, "unable to convert operands to instruction",
-                 EmptyRanges, matchingInlineAsm);
   case Match_InvalidOperand:
     WasOriginallyInvalidOperand = true;
     break;