Skip to content

Commit

Permalink
[DAG] Remove unused variable 'VT' in DAGCombiner.cpp (NFC)
Browse files Browse the repository at this point in the history
/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.
  • Loading branch information
DamonFool committed Oct 9, 2023
1 parent bea3967 commit 573a083
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 573a083

Please sign in to comment.