[NFC][AArch64] Fix unused var in release build
authorJordan Rupprecht <rupprecht@google.com>
Mon, 16 Aug 2021 17:04:32 +0000 (10:04 -0700)
committerJordan Rupprecht <rupprecht@google.com>
Mon, 16 Aug 2021 17:04:32 +0000 (10:04 -0700)
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

index 5497956..9bbeb15 100644 (file)
@@ -10461,6 +10461,7 @@ SDValue AArch64TargetLowering::LowerCONCAT_VECTORS(SDValue Op,
 
   if (isTypeLegal(Op.getOperand(0).getValueType())) {
     unsigned NumOperands = Op->getNumOperands();
+    (void)NumOperands;
     assert(NumOperands > 1 && isPowerOf2_32(NumOperands) &&
            "Unexpected number of operands in CONCAT_VECTORS");