Add a new option -run-slp-after-loop-vectorization.
authorJames Molloy <james.molloy@arm.com>
Wed, 6 Aug 2014 12:56:19 +0000 (12:56 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 6 Aug 2014 12:56:19 +0000 (12:56 +0000)
commit568da0990e7bb2d19304fa5848a6962b4be7f842
tree5acff71a9df853ed1def62795fe13e4b6cc9fc34
parentd9b4ad6e1f0a174fa799953022adff1c970aedb9
Add a new option -run-slp-after-loop-vectorization.

This swaps the order of the loop vectorizer and the SLP/BB vectorizers. It is disabled by default so we can do performance testing - ideally we want to change to having the loop vectorizer running first, and the SLP vectorizer using its leftovers instead of the other way around.

llvm-svn: 214963
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp