SLPVectorizer: refactor the code that places extracts. Place the code that decides...
authorNadav Rotem <nrotem@apple.com>
Thu, 11 Jul 2013 04:54:05 +0000 (04:54 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 11 Jul 2013 04:54:05 +0000 (04:54 +0000)
commita8608b8dfd79756765862cf40aeab544cd10c188
tree15f9faf753b1c1e9609b150cd9f9f3168d3bba59
parent03fddb710e1db886dc158fd6ac6decf8201fe4aa
SLPVectorizer: refactor the code that places extracts. Place the code that decides where to put extracts in the build-tree phase. This allows us to take the cost of the extracts into account.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186058 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp