diff options
| author | Florian Hahn <flo@fhahn.com> | 2019-09-17 09:02:48 +0000 | 
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2019-09-17 09:02:48 +0000 | 
| commit | 1bd58870e5bd715c7bcbd1180bd50c4f4c7663ff (patch) | |
| tree | f33280783df2e189af13a81fc2e0f6a7eebe589b /llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h | |
| parent | 505553495c43b963512d7ae33a2aa9fe6769a15f (diff) | |
| download | bcm5719-llvm-1bd58870e5bd715c7bcbd1180bd50c4f4c7663ff.tar.gz bcm5719-llvm-1bd58870e5bd715c7bcbd1180bd50c4f4c7663ff.zip | |
[LoopUnroll] Use LoopSize+1 as threshold, to allow unrolling loops matching LoopSize.
We use `< UP.Threshold` later on, so we should use LoopSize + 1, to
allow unrolling if the result won't exceed to loop size.
Fixes PR43305.
Reviewers: efriedma, dmgreen, paquette
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D67594
llvm-svn: 372084
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h')
0 files changed, 0 insertions, 0 deletions

