Fix error message for correct opcode.
authorEric Christopher <echristo@apple.com>
Thu, 23 Jul 2009 01:01:32 +0000 (01:01 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 23 Jul 2009 01:01:32 +0000 (01:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index bb92b16300e29a3df39897733251d10843be3e24..18f83231dadb5104d59df0087cc3f0554eaa1dea 100644 (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;