summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-27 08:17:58 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-27 08:17:58 +0000
commit56612b204a9deb74dd179d38cdd846278d51f016 (patch)
treeb77479e23d58a23b652e5aa11c385743f646127b /llvm/test
parent0a5049b780252fc5023d78f512f06a5593389ffa (diff)
downloadbcm5719-llvm-56612b204a9deb74dd179d38cdd846278d51f016.tar.gz
bcm5719-llvm-56612b204a9deb74dd179d38cdd846278d51f016.zip
[vectorizer] Clean up the handling of unvectorized loop unrolling in the
LoopVectorize pass. The logic here doesn't make much sense. We *only* unrolled if the unvectorized loop was a reduction loop with a single basic block *and* small loop body. The reduction part in particular doesn't make much sense. Instead, if we just fall through to the vectorized unroll logic it makes more sense of unrolling if there is a vectorized reduction that could be hacked on by the SLP vectorizer *or* if the loop is small. This is mostly a cleanup and nothing in the test suite really exercises this, but I did run benchmarks across this change and saw no really significant changes. llvm-svn: 200198
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud