This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR v2s16
ClosedPublic

Authored by arsenm on Sep 2 2019, 12:19 AM.

Details

Summary

Handle it the same way as G_BUILD_VECTOR_TRUNC. Arguably only
G_BUILD_VECTOR_TRUNC should be legal for this, but G_BUILD_VECTOR will
probably be more convenient in most cases.

Diff Detail

Event Timeline

arsenm created this revision.Sep 2 2019, 12:19 AM
kerbowa accepted this revision.Sep 9 2019, 9:37 AM

LGTM

This revision is now accepted and ready to land.Sep 9 2019, 9:37 AM
arsenm closed this revision.Sep 9 2019, 11:56 AM

r371440