This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Alternative mappings for constants
ClosedPublic

Authored by arsenm on Aug 1 2019, 1:09 PM.

Details

Reviewers
tstellar
nhaehnle
Summary

Without context we assume SGPR. Allowing VGPR constants theoretically
helps avoid a copy. This seems to not actually work now, and the
choice isn't based on the use bank.

Diff Detail

Event Timeline

arsenm created this revision.Aug 1 2019, 1:09 PM
nhaehnle accepted this revision.Aug 5 2019, 5:24 AM

LGTM

This revision is now accepted and ready to land.Aug 5 2019, 5:24 AM
arsenm closed this revision.Aug 5 2019, 7:40 AM

r367871