mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
insertelement got the wrong operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e05252b476
commit
9152daf868
@ -3065,9 +3065,9 @@ void CWriter::visitInsertElementInst(InsertElementInst &I) {
|
||||
Out << "((";
|
||||
printType(Out, PointerType::getUnqual(EltTy));
|
||||
Out << ")(&" << GetValueName(&I) << "))[";
|
||||
writeOperand(I.getOperand(1));
|
||||
Out << "] = (";
|
||||
writeOperand(I.getOperand(2));
|
||||
Out << "] = (";
|
||||
writeOperand(I.getOperand(1));
|
||||
Out << ")";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user