This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Legalize 2-element dynamic vector insert
AcceptedPublic

Authored by arsenm on Dec 27 2019, 5:50 AM.

Details

Summary

Use a compare of the index and select, which is cheaper and simpler to
implement than register indexing.

Diff Detail

Event Timeline

arsenm created this revision.Dec 27 2019, 5:50 AM
kerbowa accepted this revision.Jan 5 2020, 8:40 PM

LGTM

This revision is now accepted and ready to land.Jan 5 2020, 8:40 PM