This is an archive of the discontinued LLVM Phabricator instance.

[X86][Costmodel] `trunc v8i64 to v16i8/v32i8/v64i8` can appear after legalization, cost is same as for `trunc v8i64 to v8i8`
ClosedPublic

Authored by lebedev.ri on Nov 14 2021, 10:08 AM.

Details

Summary

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.

Diff Detail