summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/thinlto-function-summary.ll
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-12-02 12:20:22 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-12-02 12:20:22 +0000
commite8e94a71765963b9bea9fdcc8455aa4958ac920a (patch)
treeff6e4efe00746ce24aac71c72ae57e5c834455a5 /llvm/test/Bitcode/thinlto-function-summary.ll
parentb3ae4168393c78aa47acbe35f5fb32448f355acc (diff)
downloadbcm5719-llvm-e8e94a71765963b9bea9fdcc8455aa4958ac920a.tar.gz
bcm5719-llvm-e8e94a71765963b9bea9fdcc8455aa4958ac920a.zip
[SLP] Fix for PR6246: vectorization for scalar ops on vector elements.
When trying to vectorize trees that start at insertelement instructions function tryToVectorizeList() uses vectorization factor calculated as MinVecRegSize/ScalarTypeSize. But sometimes it does not work as tree cost for this fixed vectorization factor is too high. Patch tries to improve the situation. It tries different vectorization factors from max(PowerOf2Floor(NumberOfVectorizedValues), MinVecRegSize/ScalarTypeSize) to MinVecRegSize/ScalarTypeSize and tries to choose the best one. Differential Revision: https://reviews.llvm.org/D27215 llvm-svn: 288497
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud