Fix an incorrect chain operand when expanding INSERT_VECTOR operations through the stack.
Patch by Daniil Troshkov! llvm-svn: 222254
This commit is contained in:
parent
f0a2107c6b
commit
b5a259935c
|
@ -1486,7 +1486,7 @@ SDValue SelectionDAGLegalize::ExpandInsertToVectorThroughStack(SDValue Op) {
|
|||
StackPtr);
|
||||
|
||||
// Store the subvector.
|
||||
Ch = DAG.getStore(DAG.getEntryNode(), dl, Part, SubStackPtr,
|
||||
Ch = DAG.getStore(Ch, dl, Part, SubStackPtr,
|
||||
MachinePointerInfo(), false, false, 0);
|
||||
|
||||
// Finally, load the updated vector.
|
||||
|
|
Loading…
Reference in New Issue