From: Eric Christopher Date: Thu, 23 Jul 2009 01:01:32 +0000 (+0000) Subject: Fix error message for correct opcode. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0aaf4e91c2961585c160af0cc87f040301aafbd2;p=oota-llvm.git Fix error message for correct opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76829 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index bb92b16300e..18f83231dad 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -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;