This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Enable LocalStackSlotAllocation pass
ClosedPublic

Authored by arsenm on Apr 14 2016, 9:25 PM.

Details

Reviewers
tstellarAMD
Summary

This resolves more frame indexes early and folds
the immediate offsets into the scratch mubuf instructions.

This cleans up a lot of the mess that's currently emitted,
such as emitting add 0s and repeatedly initializing the same
register to 0 when spilling.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 53838.Apr 14 2016, 9:25 PM
arsenm retitled this revision from to AMDGPU: Enable LocalStackSlotAllocation pass.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
mgrang added a subscriber: mgrang.Apr 14 2016, 11:02 PM
mgrang added inline comments.
lib/Target/AMDGPU/SIRegisterInfo.cpp
335

Typo: "This never happens."

tstellarAMD accepted this revision.Apr 15 2016, 7:30 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 15 2016, 7:30 AM
arsenm closed this revision.Apr 15 2016, 7:19 PM

r266508