mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
insertelement got the wrong operands.
llvm-svn: 47819
This commit is contained in:
parent
e9aa391b61
commit
d8eeb6b1c8
@ -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…
Reference in New Issue
Block a user