llvm-project/llvm/test/Transforms/SLPVectorizer
Simon Pilgrim 924f193419 [TTI] Reduction costs only need to include a single extract element cost
We were adding the entire scalarization extraction cost for reductions, which returns the total cost of extracting every element of a vector type.

For reductions we don't need to do this - we just need to extract the 0'th element after the reduction pattern has completed.

Fixes PR37731

Differential Revision: https://reviews.llvm.org/D54585

llvm-svn: 346970
2018-11-15 17:42:53 +00:00
..
AArch64 [SLPVectorizer] regenerate test checks; NFC 2018-10-20 14:53:07 +00:00
AMDGPU Fix vectorization of canonicalize 2018-09-17 13:24:30 +00:00
ARM [SLPVectorizer] add test for PR13837; NFC 2018-01-23 22:04:17 +00:00
NVPTX [NVPTX] Turn on Loop/SLP vectorization 2018-04-27 13:36:05 +00:00
PowerPC [SLP] Update tests checks, NFC. 2018-01-05 14:40:04 +00:00
SystemZ [SLPVectorizer] Add tests related to PR30787, NFCI. 2018-03-29 18:57:03 +00:00
X86 [TTI] Reduction costs only need to include a single extract element cost 2018-11-15 17:42:53 +00:00
XCore
int_sideeffect.ll Add an @llvm.sideeffect intrinsic 2017-11-08 21:59:51 +00:00