diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index ff0f636bbf77c..1021b07da1ac6 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -26893,7 +26893,6 @@ SDValue DAGCombiner::foldSelectOfBinops(SDNode *N) { SDValue N0 = N->getOperand(0); SDValue N1 = N->getOperand(1); SDValue N2 = N->getOperand(2); - EVT VT = N->getValueType(0); SDLoc DL(N); unsigned BinOpc = N1.getOpcode();