This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix verifier error when spilling SGPRs
ClosedPublic

Authored by arsenm on May 20 2016, 2:16 PM.

Details

Reviewers
tstellarAMD
Summary

The current SGPR spilling test does not stress this
because it is using s_buffer_load instructions to
increase SGPR pressure and spill, but their output
operands have the same SReg_32_XM0 constraint. This fixes
an error when the SReg_32 output from most instructions
is spilled.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 57988.May 20 2016, 2:16 PM
arsenm retitled this revision from to AMDGPU: Fix verifier error when spilling SGPRs.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.May 20 2016, 5:22 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 20 2016, 5:22 PM
arsenm closed this revision.May 20 2016, 6:00 PM

r270301