Remove variables which are assigned to but for which the value
[oota-llvm.git] / lib / CodeGen / SelectionDAG / DAGCombiner.cpp
index a72415f95329999fc8709669a7d5de7b0cc0c7f8..d817c4843340f3a40fb06aede43a33fd4e42bb0f 100644 (file)
@@ -6108,7 +6108,6 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) {
    // Check if the result type doesn't match the inserted element type. A
    // SCALAR_TO_VECTOR may truncate the inserted element and the
    // EXTRACT_VECTOR_ELT may widen the extracted vector.
-   EVT EltVT = InVec.getValueType().getVectorElementType();
    SDValue InOp = InVec.getOperand(0);
    EVT NVT = N->getValueType(0);
    if (InOp.getValueType() != NVT) {