Skip to content

Commit

Permalink
Fix broken assert.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214019 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nlewycky committed Jul 26, 2014
1 parent 09ed816 commit c94ff3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/Utils/X86ShuffleDecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void DecodePSHUFBMask(const ConstantDataSequential *C,
ShuffleMask.push_back(SM_SentinelZero);
else {
int Index = Base + Element;
assert((Index >= 0 && Index < NumElements) ||
assert((Index >= 0 && Index < NumElements) &&
"Out of bounds shuffle index for pshub instruction!");
ShuffleMask.push_back(Index);
}
Expand Down

0 comments on commit c94ff3d

Please sign in to comment.