mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Fix error message for correct opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81ce3ed08c
commit
0aaf4e91c2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user