forked from OSchip/llvm-project
[Hexagon] Suppress more warnings on unused variables defined for asserts.
llvm-svn: 319944
This commit is contained in:
parent
50048ac65e
commit
b684b1aa35
|
@ -1164,6 +1164,7 @@ OpRef HvxSelector::shuffs1(ShuffleMask SM, OpRef Va, ResultStack &Results) {
|
|||
DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
|
||||
unsigned VecLen = SM.Mask.size();
|
||||
assert(HwLen == VecLen);
|
||||
(void)VecLen;
|
||||
assert(all_of(SM.Mask, [this](int M) { return M == -1 || M < int(HwLen); }));
|
||||
|
||||
if (isIdentity(SM.Mask))
|
||||
|
|
Loading…
Reference in New Issue