SLPVectorizer: Add support for trees that don't start at binary operators, and add...
authorNadav Rotem <nrotem@apple.com>
Sun, 14 Apr 2013 05:15:53 +0000 (05:15 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 14 Apr 2013 05:15:53 +0000 (05:15 +0000)
commitab105ae95fc473c19d9f0b019fc7c7a16d17b1a5
tree27247e73ffdef91c52268c935d65afd7c066c1c0
parent618eda7a60bafff7741a988e27b98bf81d27cb89
SLPVectorizer: Add support for trees that don't start at binary operators, and add the cost of extracting values from the roots of the tree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179475 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
lib/Transforms/Vectorize/VecUtils.cpp
lib/Transforms/Vectorize/VecUtils.h
test/Transforms/SLPVectorizer/X86/reduction2.ll [new file with mode: 0644]