aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-12-17 09:43:42 -0800
committerKazu Hirata <kazu@google.com>2021-12-17 09:43:42 -0800
commit90bd4873d66af71016bc6da0071ea48c438fa039 (patch)
tree95caa3bb5b28029e4d1f2323534c058a630425d9
parent54ee8bb73af38f90ff055afc3c5b2934d7fe2002 (diff)
downloadllvm-90bd4873d66af71016bc6da0071ea48c438fa039.zip
llvm-90bd4873d66af71016bc6da0071ea48c438fa039.tar.gz
llvm-90bd4873d66af71016bc6da0071ea48c438fa039.tar.bz2
[CodeGen] Fix an unused variable warning
This patch fixes: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:22617:11: error: unused variable 'Ops' [-Werror,-Wunused-variable]
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b58758b..f6c5347 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -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();