This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC
ClosedPublic

Authored by arsenm on Sep 1 2019, 11:21 AM.

Details

Summary

Treat this as legal on gfx9 since it can use S_PACK_* instructions for
this.

This isn't used by anything yet. The same will probably apply to
16-bit G_BUILD_VECTOR without the trunc.

Diff Detail

Event Timeline

arsenm created this revision.Sep 1 2019, 11:21 AM
kerbowa accepted this revision.Sep 9 2019, 9:07 AM

LGTM

This revision is now accepted and ready to land.Sep 9 2019, 9:07 AM
arsenm closed this revision.Sep 9 2019, 10:02 AM

r371423