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

llvm-svn: 229977
This commit is contained in:
Nick Lewycky 2015-02-20 07:16:17 +00:00
parent eb3231eefa
commit a2bda08806
1 changed files with 1 additions and 0 deletions

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