[llvm] Fix unused variable warning
authorKadir Cetinkaya <kadircet@google.com>
Tue, 2 Jun 2020 20:46:24 +0000 (22:46 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 2 Jun 2020 20:46:24 +0000 (22:46 +0200)
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 707a8fd..538c93d 100644 (file)
@@ -7944,6 +7944,7 @@ static SDValue combineShiftToMULH(SDNode *N, SelectionDAG &DAG,
 
   EVT WideVT1 = LeftOp.getValueType();
   EVT WideVT2 = RightOp.getValueType();
+  (void)WideVT2;
   // Proceed with the transformation if the wide types match.
   assert((WideVT1 == WideVT2) &&
          "Cannot have a multiply node with two different operand types.");