mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-05 11:19:41 +00:00
Fix an incorrect chain operand when expanding INSERT_VECTOR operations through the stack.
Patch by Daniil Troshkov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222254 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
891e9e7869
commit
b39e517168
@ -1486,7 +1486,7 @@ SDValue SelectionDAGLegalize::ExpandInsertToVectorThroughStack(SDValue Op) {
|
|||||||
StackPtr);
|
StackPtr);
|
||||||
|
|
||||||
// Store the subvector.
|
// Store the subvector.
|
||||||
Ch = DAG.getStore(DAG.getEntryNode(), dl, Part, SubStackPtr,
|
Ch = DAG.getStore(Ch, dl, Part, SubStackPtr,
|
||||||
MachinePointerInfo(), false, false, 0);
|
MachinePointerInfo(), false, false, 0);
|
||||||
|
|
||||||
// Finally, load the updated vector.
|
// Finally, load the updated vector.
|
||||||
|
Loading…
Reference in New Issue
Block a user