Fix build in release mode, -Wunused-variable on this lambda function used only in...
authorNick Lewycky <nicholas@mxc.ca>
Fri, 20 Feb 2015 07:16:17 +0000 (07:16 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 20 Feb 2015 07:16:17 +0000 (07:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229977 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index ab02f14413c339d2bb0274cb30f9d6c698da25ad..32a5be3a16bfd200a0f37f01147b220919f43980 100644 (file)
@@ -8241,6 +8241,7 @@ static SDValue lowerV8I16VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
     return ZExt;
 
   auto isV1 = [](int M) { return M >= 0 && M < 8; };
+  (void)isV1;
   auto isV2 = [](int M) { return M >= 8; };
 
   int NumV2Inputs = std::count_if(Mask.begin(), Mask.end(), isV2);