llvm-project/llvm/test/Analysis/CostModel
Alexey Bataev 62af7252f1 [SLP] Fixed cost model for horizontal reduction.
Currently when cost of scalar operations is evaluated the vector type is
used for scalar operations. Patch fixes this issue and fixes evaluation
of the vector operations cost.
Several test showed that vector cost model is too optimistic. It
allowed vectorization of 8 or less add/fadd operations, though scalar
code is faster. Actually, only for 16 or more operations vector code
provides better performance.

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

llvm-svn: 288398
2016-12-01 18:42:42 +00:00
..
AArch64 [AArch64] Reduce vector insert/extract cost for Kryo 2016-02-18 18:35:45 +00:00
AMDGPU AMDGPU: Cost model for basic integer operations 2016-03-25 01:16:40 +00:00
ARM [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
PowerPC [TTI] The cost model should not assume vector casts get completely scalarized 2016-07-06 17:30:56 +00:00
X86 [SLP] Fixed cost model for horizontal reduction. 2016-12-01 18:42:42 +00:00
no_info.ll Roll forward r243250 2015-07-26 19:10:03 +00:00