This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Simplify callee-save register save/restore. NFC.
ClosedPublic

Authored by gberry on Jan 29 2016, 12:40 PM.

Details

Summary

Simplify callee-save register save/restore code generation by
remembering the size of the callee-save area when it is computed so we
don't have to scan the prologue/epilogue instructions again later to
reconstruct it.

This is intended to simplify follow-on changes that reduce the number of
registers saved/restored.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry updated this revision to Diff 46410.Jan 29 2016, 12:40 PM
gberry retitled this revision from to [AArch64] Simplify callee-save register save/restore. NFC..
gberry updated this object.
gberry added reviewers: mcrosier, jmolloy, t.p.northover.
gberry added a subscriber: llvm-commits.
t.p.northover accepted this revision.Jan 29 2016, 1:05 PM
t.p.northover edited edge metadata.

Looks like a good improvement to me!

Tim.

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