[X86][Costmodel] `trunc v16i8 to v8i1` can appear after legalization, cost is same...
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 19 Nov 2021 12:55:21 +0000 (15:55 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 19 Nov 2021 12:57:32 +0000 (15:57 +0300)
commita751084bb4521f0847f39e9eb564e225ccce311e
tree7622f40dc3e58fa265f5d6092a34c2ffddbf3ec7
parenta50fdd3fc9827cf3b3a177d72ada6c5f9298522b
[X86][Costmodel] `trunc v16i8 to v8i1` can appear after legalization, cost is same as for `trunc v8i8 to v8i1`

Note that there are many other missing costs, i'm *only* adding the ones that are queried
from `getReplicationShuffleCost()` for the existing (quite exhaustive) test coverage.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D114070
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/trunc.ll