[llvm] 4357562 - [NFC][AArch64] Fix unused var in release build

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 10:08:37 PDT 2021


Author: Jordan Rupprecht
Date: 2021-08-16T10:04:32-07:00
New Revision: 4357562067003e25ab343a2d67a60bd89cd66dbf

URL: https://github.com/llvm/llvm-project/commit/4357562067003e25ab343a2d67a60bd89cd66dbf
DIFF: https://github.com/llvm/llvm-project/commit/4357562067003e25ab343a2d67a60bd89cd66dbf.diff

LOG: [NFC][AArch64] Fix unused var in release build

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 5497956c4580..9bbeb151d56b 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -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");
 


        


More information about the llvm-commits mailing list