llvm-6502/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
cast.ll
cmp.ll
div.ll
gep.ll
i32.ll
insert-extract-at-zero.ll
intrinsic-cost.ll
lit.local.cfg
load_store.ll
loop_v2.ll
reduction.ll
scalarize.ll
sitofp.ll
testshiftashr.ll
testshiftlshr.ll
testshiftshl.ll
tiny.ll
uitofp.ll
vectorized-loop.ll
vshift-cost.ll