This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix G_GEP with mixed SGPR/VGPR operands
ClosedPublic

Authored by arsenm on Jul 1 2019, 6:34 PM.

Details

Reviewers
tstellar
nhaehnle
Summary

The register bank for the destination of the sample argument copy was
wrong. We shouldn't be constraining each source to the result register
bank. Allow constraining the original register to the right size.

Diff Detail

Event Timeline

arsenm created this revision.Jul 1 2019, 6:34 PM
tstellar accepted this revision.Jul 1 2019, 7:05 PM

LGTM.

This revision is now accepted and ready to land.Jul 1 2019, 7:05 PM
arsenm closed this revision.Jul 2 2019, 7:40 AM

r364928