[X86][Costmodel] `trunc v8i64 to v16i8/v32i8/v64i8` can appear after legalization...
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 15 Nov 2021 15:55:39 +0000 (18:55 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 15 Nov 2021 16:04:02 +0000 (19:04 +0300)
commit9e57d9b09deaa9454c5c081acd68b76ba8ac76bf
tree1af3d06fec6ca3fa087ee042c6b7a2c94be3a643
parent0116c708c6bf2d83ac2218ccdef5fd69b7283817
[X86][Costmodel] `trunc v8i64 to v16i8/v32i8/v64i8` can appear after legalization, cost is same as for `trunc v8i64 to v8i8`

While this one is trivial and identical to the previous patch,
there is a weird cost change in a follow-up patch that i'm not sure about.

Reviewed By: RKSimon

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