]> granicus.if.org Git - llvm/commitdiff
[X86] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r373174
authorFangrui Song <maskray@google.com>
Mon, 30 Sep 2019 02:06:23 +0000 (02:06 +0000)
committerFangrui Song <maskray@google.com>
Mon, 30 Sep 2019 02:06:23 +0000 (02:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373175 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 2302697af2eebc6ad6b54313dec2d79c00bae8fe..3a862590e6b3c35135d2cd3ff9973ff3a48fd341 100644 (file)
@@ -20570,6 +20570,7 @@ static SDValue LowerVSETCC(SDValue Op, const X86Subtarget &Subtarget,
   }
 
   MVT VTOp0 = Op0.getSimpleValueType();
+  (void)VTOp0;
   assert(VTOp0 == Op1.getSimpleValueType() &&
          "Expected operands with same type!");
   assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() &&