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)
commit54b413d157cb22ce949db12c3cdcfe997355f3d5
treeb4d0140e1cc614332a13668a958d11a1945937e3
parentc3c28f8599f56c91974000f8044bf392beb753e5
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.

llvm-svn: 179475
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/lib/Transforms/Vectorize/VecUtils.cpp
llvm/lib/Transforms/Vectorize/VecUtils.h
llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll [new file with mode: 0644]