forked from OSchip/llvm-project
[x86] Cleanup an unused variable by actually using it in the non-asserts
place where it was needed. llvm-svn: 217854
This commit is contained in:
parent
56ebef45ef
commit
b1c024a2de
llvm/lib/Target/X86
|
@ -20036,7 +20036,7 @@ static SDValue combineShuffleToAddSub(SDNode *N, SelectionDAG &DAG) {
|
|||
// FIXME: Munge the inputs through no-op shuffles that drop the undef lanes to
|
||||
// allow nuking any instructions that feed only those lanes.
|
||||
|
||||
return DAG.getNode(X86ISD::ADDSUB, DL, N->getValueType(0), LHS, RHS);
|
||||
return DAG.getNode(X86ISD::ADDSUB, DL, VT, LHS, RHS);
|
||||
}
|
||||
|
||||
/// PerformShuffleCombine - Performs several different shuffle combines.
|
||||
|
|
Loading…
Reference in New Issue