Fix broken assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2014-07-26 05:44:15 +00:00
parent 09ed816174
commit c94ff3dc78

View File

@ -233,7 +233,7 @@ void DecodePSHUFBMask(const ConstantDataSequential *C,
ShuffleMask.push_back(SM_SentinelZero); ShuffleMask.push_back(SM_SentinelZero);
else { else {
int Index = Base + Element; int Index = Base + Element;
assert((Index >= 0 && Index < NumElements) || assert((Index >= 0 && Index < NumElements) &&
"Out of bounds shuffle index for pshub instruction!"); "Out of bounds shuffle index for pshub instruction!");
ShuffleMask.push_back(Index); ShuffleMask.push_back(Index);
} }