mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
09ed816174
commit
c94ff3dc78
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user