llvm/test/Analysis/CostModel/X86
Raul E. Silvera 6df2b69098 When analyzing vectors of element type that require legalization,
the legalization cost must be included to get an accurate
estimation of the total cost of the scalarized vector.
The inaccurate cost triggered unprofitable SLP vectorization on
32-bit X86.

Summary:
Include legalization overhead when computing scalarization cost

Reviewers: hfinkel, nadav

CC: chandlerc, rnk, llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2992

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203509 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-10 22:59:13 +00:00
..
arith.ll CostModel: increase the default cost of supported floating point operations from 1 to two. Fixed a few tests that changes because now the cost of one insert + a vector operation on two doubles is lower than two scalar operations on doubles. 2013-04-12 21:15:03 +00:00
cast.ll X86: add costs for 64-bit vector ext/trunc & rebalance 2014-02-06 18:18:36 +00:00
cmp.ll Add extra CHECK prefix to tests with explicit prefix 2014-02-16 13:28:15 +00:00
div.ll X86 cost model: Vectorizing integer division is a bad idea 2013-06-25 19:14:09 +00:00
gep.ll ARM cost model: Address computation in vector mem ops not free 2013-02-08 14:50:48 +00:00
i32.ll We are not ready to estimate the cost of integer expansions based on the number of parts. This test is too noisy. 2012-12-23 09:11:07 +00:00
insert-extract-at-zero.ll Cost Model: Normalize the insert/extract index when splitting types 2012-11-05 21:12:13 +00:00
intrinsic-cost.ll Add the nearbyint -> FNEARBYINT mapping to BasicTargetTransformInfo 2013-07-08 03:24:07 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
load_store.ll CostModel: improve the cost model for load/store of non power-of-two types such as <3 x float>, which are popular in graphics. 2013-06-27 17:52:04 +00:00
loop_v2.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-29 22:42:01 +00:00
reduction.ll X86 horizontal vector reduction cost model 2013-09-19 17:48:48 +00:00
scalarize.ll When analyzing vectors of element type that require legalization, 2014-03-10 22:59:13 +00:00
sitofp.ll X86 cost model: Model cost for uitofp and sitofp on SSE2 2013-04-08 18:05:48 +00:00
testshiftashr.ll TargetLowering: Fix getTypeConversion handling of extended vector types 2013-04-07 20:22:56 +00:00
testshiftlshr.ll TargetLowering: Fix getTypeConversion handling of extended vector types 2013-04-07 20:22:56 +00:00
testshiftshl.ll TargetLowering: Fix getTypeConversion handling of extended vector types 2013-04-07 20:22:56 +00:00
tiny.ll Cost Model: change the default cost of control flow instructions (br / ret / ...) to zero. 2012-12-05 21:21:26 +00:00
uitofp.ll X86 cost model: Exit before calling getSimpleVT on non-simple VTs 2013-04-17 20:04:53 +00:00
vectorized-loop.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-29 22:42:01 +00:00
vshift-cost.ll [Vectorizer] Add a new 'OperandValueKind' in TargetTransformInfo called 2014-02-12 23:43:47 +00:00