mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
Fix error message for correct opcode.
llvm-svn: 76829
This commit is contained in:
@@ -3110,7 +3110,7 @@ bool LLParser::ParseInsertElement(Instruction *&Inst, PerFunctionState &PFS) {
|
||||
return true;
|
||||
|
||||
if (!InsertElementInst::isValidOperands(Op0, Op1, Op2))
|
||||
return Error(Loc, "invalid extractelement operands");
|
||||
return Error(Loc, "invalid insertelement operands");
|
||||
|
||||
Inst = InsertElementInst::Create(Op0, Op1, Op2);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user