Skip to content

Commit

Permalink
[CodeGen] Fix an unused variable warning
Browse files Browse the repository at this point in the history
This patch fixes:

  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:22617:11: error:
  unused variable 'Ops' [-Werror,-Wunused-variable]
  • Loading branch information
kazutakahirata committed Dec 17, 2021
1 parent 54ee8bb commit 90bd487
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Expand Up @@ -22614,7 +22614,6 @@ SDValue DAGCombiner::SimplifyVBinOp(SDNode *N, const SDLoc &DL) {

SDValue LHS = N->getOperand(0);
SDValue RHS = N->getOperand(1);
SDValue Ops[] = {LHS, RHS};
unsigned Opcode = N->getOpcode();
SDNodeFlags Flags = N->getFlags();

Expand Down

0 comments on commit 90bd487

Please sign in to comment.