Page MenuHomePhabricator

AMDGPU: Don't look for constant in insert/extract_vector_elt regbankselect
ClosedPublic

Authored by arsenm on Feb 21 2019, 8:08 AM.

Details

Reviewers
tstellar
rampitec
Summary

The constantness shouldn't change the register bank choice. We also
don't need to restrict this to only indexing VGPRs, since it's
possible to index SGPRs (but SelectionDAG made using this
difficult). Allow directly indexing SGPRs when appropriate.

Diff Detail