diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-05-09 15:18:12 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-05-09 15:18:12 +0000 |
| commit | ea4c1bb77281564517aefa9c464bfb1ee924460f (patch) | |
| tree | 69227eeacc1c671ff4d6e25e6dc3ebadbd115f23 /llvm/lib | |
| parent | b1bcafd70647b88e0679f03ce952cc2b14746b9d (diff) | |
| download | bcm5719-llvm-ea4c1bb77281564517aefa9c464bfb1ee924460f.tar.gz bcm5719-llvm-ea4c1bb77281564517aefa9c464bfb1ee924460f.zip | |
[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
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index a04cd61fa0a..eefaf22d028 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -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; |

