llvm-project/llvm/test/Transforms/SLPVectorizer
Matthew Simpson 6c289a1c74 [SLP] Stop counting cost of gather sequences with multiple uses
When building the SLP tree, we look for reuse among the vectorized tree
entries. However, each gather sequence is represented by a unique tree entry,
even though the sequence may be identical to another one. This means, for
example, that a gather sequence with two uses will be counted twice when
computing the cost of the tree. We should only count the cost of the definition
of a gather sequence rather than its uses. During code generation, the
redundant gather sequences are emitted, but we optimize them away with CSE. So
it looks like this problem just affects the cost model.

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

llvm-svn: 328316
2018-03-23 14:18:27 +00:00
..
AArch64 [SLP] Stop counting cost of gather sequences with multiple uses 2018-03-23 14:18:27 +00:00
AMDGPU AMDGPU: Allow vectorization of packed types 2017-06-20 20:38:06 +00:00
ARM [SLPVectorizer] add test for PR13837; NFC 2018-01-23 22:04:17 +00:00
PowerPC [SLP] Update tests checks, NFC. 2018-01-05 14:40:04 +00:00
SystemZ Revert r319531 "[SLPVectorizer] Failure to beneficially vectorize 'copyable' elements in integer binary ops." 2017-12-01 16:17:24 +00:00
X86 [SLP] Stop counting cost of gather sequences with multiple uses 2018-03-23 14:18:27 +00:00
XCore
int_sideeffect.ll Add an @llvm.sideeffect intrinsic 2017-11-08 21:59:51 +00:00