[X86][Costmodel] `trunc v32i16 to v64i1` can appear after legalization, cost is same...
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 17 Nov 2021 08:59:33 +0000 (11:59 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 17 Nov 2021 09:02:50 +0000 (12:02 +0300)
commit23b194bf18a5d580ee2e84a7be4887ca6fcfe257
tree214e729697f9543f5a6969d4c4cadcd5852232ca
parentf7eb061a5f1ee8e357cb8a735f789719415eba66
[X86][Costmodel] `trunc v32i16 to v64i1` can appear after legalization, cost is same as for `trunc v32i16 to v32i1`

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D113913
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll
llvm/test/Analysis/CostModel/X86/trunc.ll