summaryrefslogtreecommitdiff
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-07-23 01:01:32 +0000
committerEric Christopher <echristo@apple.com>2009-07-23 01:01:32 +0000
commit0aaf4e91c2961585c160af0cc87f040301aafbd2 (patch)
tree61325319193b57a32db111b4c5f9b7ff15bf3d87 /lib/AsmParser
parent81ce3ed08c4df0c246b378c8972062d2f49f1ce9 (diff)
downloadllvm-0aaf4e91c2961585c160af0cc87f040301aafbd2.tar.gz
llvm-0aaf4e91c2961585c160af0cc87f040301aafbd2.tar.bz2
llvm-0aaf4e91c2961585c160af0cc87f040301aafbd2.tar.xz
Fix error message for correct opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r--lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index bb92b16300..18f83231da 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;