Fix error message for correct opcode.

llvm-svn: 76829
This commit is contained in:
Eric Christopher
2009-07-23 01:01:32 +00:00
parent 1a722d9b73
commit fef8db605d

View File

@@ -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;