SLPVectorize: Put horizontal reductions feeding a store under separate flag
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 25 Sep 2013 14:02:32 +0000 (14:02 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 25 Sep 2013 14:02:32 +0000 (14:02 +0000)
commit9660ebb398cc3e9202a24087ad46290c3de29c7c
treef157c64297f0d74637aaf28b48cf1abc2d96eefa
parent259a6006e89576704e52e7392ef2bfd83f277ce3
SLPVectorize: Put horizontal reductions feeding a store under separate flag

Put them under a separate flag for experimentation. They are more likely to
interfere with loop vectorization which happens later in the pass pipeline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/horizontal.ll