This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Allow VGPR to index SGPR register
ClosedPublic

Authored by arsenm on Oct 2 2019, 10:13 PM.

Details

Summary

We can still do a waterfall loop over the index if using a VGPR to
index an SGPR. The result will still be a VGPR, but we can avoid the
wide copy of the source register to a VGPR.

Diff Detail