diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-09-21 01:06:00 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-09-21 01:06:00 +0000 |
commit | 500242d4fe4243e6dc41795663d86f1828062860 (patch) | |
tree | 071e7d2808fa0db59ce157b9fc0c18575ed146da /llvm/lib/Transforms/Scalar/LoopDeletion.cpp | |
parent | 3371172a6761f7e12d0dc80b631dabfd70e0fecf (diff) | |
download | bcm5719-llvm-500242d4fe4243e6dc41795663d86f1828062860.tar.gz bcm5719-llvm-500242d4fe4243e6dc41795663d86f1828062860.zip |
Reapply "SLPVectorizer: Handle more horizontal reductions (disabled)""
Reapply r191108 with a fix for a memory corruption error I introduced. Of
course, we can't reference the scalars that we replace by vectorizing and then
call their eraseFromParent method. I only 'needed' the scalars to get the
DebugLoc. Just store the DebugLoc before actually vectorizing instead. As a nice
side effect, this also simplifies the interface between BoUpSLP and the
HorizontalReduction class to returning a value pointer (the vectorized tree
root).
radar://14607682
llvm-svn: 191123
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDeletion.cpp')
0 files changed, 0 insertions, 0 deletions