Page MenuHomePhabricator

[AArch64][GlobalISel] Add support for sibcalling callees with varargs

Authored by paquette on Sep 12 2019, 1:41 PM.



This adds support for tail calling callees with varargs, equivalent to how it is done in AArch64ISelLowering.

This only works for sibling calls, and does not add the necessary support for musttail with varargs. (See r345641 for equivalent ISelLowering support.) This should be implemented when we stop falling back on musttail.

Update call-translator-tail-call.ll to show that we can now tail call varargs.

Diff Detail


Event Timeline

paquette created this revision.Sep 12 2019, 1:41 PM
aemerson accepted this revision.Sep 12 2019, 4:30 PM
This revision is now accepted and ready to land.Sep 12 2019, 4:30 PM
This revision was automatically updated to reflect the committed changes.