[LV] Change MaxVectorSize bound to 256 in assertion, NFC otherwise
It's possible to have a vector of 256 bytes in HVX code on Hexagon (vector pair in 128-byte mode). llvm-svn: 331885
This commit is contained in:
parent
b1bcafd706
commit
ea4c1bb772
|
@ -4937,8 +4937,8 @@ LoopVectorizationCostModel::computeFeasibleMaxVF(bool OptForSize,
|
|||
DEBUG(dbgs() << "LV: The Widest register safe to use is: " << WidestRegister
|
||||
<< " bits.\n");
|
||||
|
||||
assert(MaxVectorSize <= 64 && "Did not expect to pack so many elements"
|
||||
" into one vector!");
|
||||
assert(MaxVectorSize <= 256 && "Did not expect to pack so many elements"
|
||||
" into one vector!");
|
||||
if (MaxVectorSize == 0) {
|
||||
DEBUG(dbgs() << "LV: The target has no vector registers.\n");
|
||||
MaxVectorSize = 1;
|
||||
|
|
Loading…
Reference in New Issue