Fix build in release mode, -Wunused-variable on this lambda function used only in an assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2015-02-20 07:16:17 +00:00
parent 95fda65f76
commit 12cbedbaee

View 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);