This is an archive of the discontinued LLVM Phabricator instance.

Add support for a preserve_most calling convention to the AArch64 backend.
ClosedPublic

Authored by swiftix on Mar 9 2016, 3:17 PM.

Details

Summary

This change adds a support for a preserve_most calling convention to the AArch64 backend, similar to how it was done for X86-64.

There is also a subsequent patch on top of this one to add a tail-calls support for this calling convention.

Diff Detail

Repository
rL LLVM

Event Timeline

swiftix updated this revision to Diff 50204.Mar 9 2016, 3:17 PM
swiftix retitled this revision from to Add support for a preserve_most calling convention to the AArch64 backend..
swiftix updated this object.
swiftix added reviewers: t.p.northover, ributzka.
swiftix added a subscriber: llvm-commits.
t.p.northover accepted this revision.Mar 9 2016, 3:48 PM
t.p.northover edited edge metadata.

Thanks for updating the patch. Just one issue now as far as I can see (you don't need to upload another revision): you should also test that x15 is saved and restored.

Cheers.

Tim.

This revision is now accepted and ready to land.Mar 9 2016, 3:48 PM

Oh, thanks! You are right about x15. I forgot to update the test. Will add this check.

This revision was automatically updated to reflect the committed changes.