[X86] Connect the output chain properly when combining vzext_movl+load into vzext_load.

llvm-svn: 364625
This commit is contained in:
Craig Topper 2019-06-28 06:58:50 +00:00
parent 2adab5a142
commit cbb88a5169
1 changed files with 1 additions and 1 deletions

View File

@ -33677,7 +33677,7 @@ static SDValue combineShuffle(SDNode *N, SelectionDAG &DAG,
LN->getPointerInfo(),
LN->getAlignment(),
MachineMemOperand::MOLoad);
DAG.ReplaceAllUsesOfValueWith(SDValue(LN, 0), VZLoad.getValue(1));
DAG.ReplaceAllUsesOfValueWith(SDValue(LN, 1), VZLoad.getValue(1));
return VZLoad;
}
}