Add a flag to defer vectorization into a phase after the inliner and its
authorChandler Carruth <chandlerc@gmail.com>
Mon, 24 Jun 2013 07:21:47 +0000 (07:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 24 Jun 2013 07:21:47 +0000 (07:21 +0000)
commit6bf3a05235effa06b10196ee9ebeffee14d886ee
tree57d1b08d65fbcc5cf75ed846d0d337b28f17322a
parentd77a0ca4934f9b2480ca80a26d95b21fc0c1aa3b
Add a flag to defer vectorization into a phase after the inliner and its
CGSCC pass manager. This should insulate the inlining decisions from the
vectorization decisions, however it may have both compile time and code
size problems so it is just an experimental option right now.

Adding this based on a discussion with Arnold and it seems at least
worth having this flag for us to both run some experiments to see if
this strategy is workable. It may solve some of the regressions seen
with the loop vectorizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184698 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Transforms/IPO/PassManagerBuilder.cpp