From 573a083c1cc0c092af8f7012907e0b49c1225d38 Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Mon, 9 Oct 2023 18:30:38 +0800 Subject: [PATCH] [DAG] Remove unused variable 'VT' in DAGCombiner.cpp (NFC) /llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:26896:7: error: unused variable 'VT' [-Werror,-Wunused-variable] EVT VT = N->getValueType(0); ^ 1 error generated. --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index ff0f636bbf77c4..1021b07da1ac6c 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();