summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-11-18 20:50:19 +0000
committerOwen Anderson <resistor@mac.com>2014-11-18 20:50:19 +0000
commitb5a259935c60bf318870f3bf4835978f7ebbb098 (patch)
tree909ef90a859b0dd96612005285703856dd648bf6 /llvm/lib
parentf0a2107c6ba1c1838cee83bac234c7e18fc3455c (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud