]> granicus.if.org Git - llvm/commit
Revert "[SLP] avoid reduction transform on patterns that the backend can load-combine"
authorMartin Storsjo <martin@martin.st>
Mon, 7 Oct 2019 08:21:37 +0000 (08:21 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 7 Oct 2019 08:21:37 +0000 (08:21 +0000)
commitd749f502c7ac8ff0752ce0094e0e2acfb2dc90c7
treec21a769e88a1f41bcdb79a45fef33fc28af189d4
parentd4ae6debbd55e3bf45ea267aed940e367eebe83c
Revert "[SLP] avoid reduction transform on patterns that the backend can load-combine"

This reverts SVN r373833, as it caused a failed assert "Non-zero loop
cost expected" on building numerous projects, see PR43582 for details
and reproduction samples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373882 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetTransformInfo.h
lib/Analysis/TargetTransformInfo.cpp
lib/Transforms/Vectorize/SLPVectorizer.cpp
test/Transforms/SLPVectorizer/X86/bad-reduction.ll