summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-07-07 06:57:07 +0000
committerNadav Rotem <nrotem@apple.com>2013-07-07 06:57:07 +0000
commit369cc938d261de3295eb70d0738f54ef1a82806c (patch)
tree10497d00e5f4f7a2cd0a9d4b741da0d448787f10 /lib/Bitcode/Reader
parent95a1b3484d7daf7830161f1613fc812303641abe (diff)
downloadllvm-369cc938d261de3295eb70d0738f54ef1a82806c.tar.gz
llvm-369cc938d261de3295eb70d0738f54ef1a82806c.tar.bz2
llvm-369cc938d261de3295eb70d0738f54ef1a82806c.tar.xz
SLPVectorizer: Implement DCE as part of vectorization.
This is a complete re-write if the bottom-up vectorization class. Before this commit we scanned the instruction tree 3 times. First in search of merge points for the trees. Second, for estimating the cost. And finally for vectorization. There was a lot of code duplication and adding the DCE exposed bugs. The new design is simpler and DCE was a part of the design. In this implementation we build the tree once. After that we estimate the cost by scanning the different entries in the constructed tree (in any order). The vectorization phase also works on the built tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions