This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Initial implementation of VGPR indexing mode
ClosedPublic

Authored by arsenm on Sep 30 2016, 5:48 PM.

Details

Reviewers
tstellarAMD
Summary

This is the most basic handling of the indirect access
pseudos using GPR indexing mode. This currently only enables
the mode for a single v_mov_b32 and then disables it.
This is much more complicated to use than the movrel instructions,
so a new optimization pass is probably needed to fold the access
into the uses and keep the mode enabled for them.

Diff Detail