git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149452
91177308-0d34-0410-b5e6-
96231b3b80d8
const MCExpr *ImmVal;
if (getParser().ParseExpression(ImmVal))
const MCExpr *ImmVal;
if (getParser().ParseExpression(ImmVal))
- return MatchOperand_ParseFail;
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
if (!MCE)
return TokError("immediate value expected for vector index");
const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal);
if (!MCE)
return TokError("immediate value expected for vector index");