summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-09-21 01:06:00 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-09-21 01:06:00 +0000
commita9baf1ecfd343e2d8d8fa277c8b093a1869726bb (patch)
tree1942923f038bafac2b41f315fafe94400700ab66 /lib/Bitcode/Reader
parent2ecd8c90b037e58f4914acfc6a4ced5a01774a05 (diff)
downloadllvm-a9baf1ecfd343e2d8d8fa277c8b093a1869726bb.tar.gz
llvm-a9baf1ecfd343e2d8d8fa277c8b093a1869726bb.tar.bz2
llvm-a9baf1ecfd343e2d8d8fa277c8b093a1869726bb.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions