This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Don't try to move scratch wave offset when there are no free SGPRs
ClosedPublic

Authored by tstellarAMD on Feb 24 2016, 6:41 PM.

Details

Summary

When there were no free SGPRs, we were trying to move this value into
some of the reserved registers which was causing a segmentation fault.

Diff Detail

Event Timeline

tstellarAMD retitled this revision from to AMDGPU/SI: Don't try to move scratch wave offset when there are no free SGPRs.
tstellarAMD updated this object.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.
arsenm accepted this revision.Feb 29 2016, 5:05 PM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 29 2016, 5:05 PM
This revision was automatically updated to reflect the committed changes.