This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by lebedev.ri on Nov 17 2021, 1:26 AM.

Details

Summary

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.

Diff Detail

Event Timeline

lebedev.ri created this revision.Nov 17 2021, 1:26 AM
This revision is now accepted and ready to land.Nov 17 2021, 11:03 AM

LGTM

Thank you for the reviews!

Are there any thoughts on the D113915+D114071?
After that i guess i will need look into AVX512DQ's {k}->{i32,i64} (all costs are missing?).

This revision was landed with ongoing or failed builds.Nov 19 2021, 5:01 AM
This revision was automatically updated to reflect the committed changes.