diff options
| author | Owen Anderson <resistor@mac.com> | 2014-11-18 20:50:19 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2014-11-18 20:50:19 +0000 |
| commit | b5a259935c60bf318870f3bf4835978f7ebbb098 (patch) | |
| tree | 909ef90a859b0dd96612005285703856dd648bf6 /llvm/lib | |
| parent | f0a2107c6ba1c1838cee83bac234c7e18fc3455c (diff) | |
| download | bcm5719-llvm-b5a259935c60bf318870f3bf4835978f7ebbb098.tar.gz bcm5719-llvm-b5a259935c60bf318870f3bf4835978f7ebbb098.zip | |
Fix an incorrect chain operand when expanding INSERT_VECTOR operations through the stack.
Patch by Daniil Troshkov!
llvm-svn: 222254
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d050e07a1ec..a772f9c69a5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -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. |

