diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 076684993ab..a8621a89a8a 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -9263,7 +9263,6 @@ static SDValue partitionShuffleOfConcats(SDNode *N, SelectionDAG &DAG) { } if (NoUndef) { - unsigned Begin = I * NumElemsPerConcat; if (SVN->getMaskElt(Begin) % NumElemsPerConcat != 0) return SDValue();