[llvm-commits] [llvm] r76829 - /llvm/trunk/lib/AsmParser/LLParser.cpp
Eric Christopher
echristo at apple.com
Wed Jul 22 18:01:32 PDT 2009
Author: echristo
Date: Wed Jul 22 20:01:32 2009
New Revision: 76829
URL: http://llvm.org/viewvc/llvm-project?rev=76829&view=rev
Log:
Fix error message for correct opcode.
Modified:
llvm/trunk/lib/AsmParser/LLParser.cpp
Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=76829&r1=76828&r2=76829&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Wed Jul 22 20:01:32 2009
@@ -3110,7 +3110,7 @@
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;
More information about the llvm-commits
mailing list