This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel][NFC] Refactor tail call lowering code
ClosedPublic

Authored by paquette on Sep 13 2019, 3:13 PM.

Details

Summary

When you begin implementing -tailcallopt, this gets somewhat hairy. Refactor the call lowering code so that the tail call lowering stuff gets its own function.

There's still some refactoring that can be done here, but I'd rather do that after getting -tailcallopt + musttail working.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Sep 13 2019, 3:13 PM
aemerson accepted this revision.Sep 17 2019, 10:34 AM

I hope we can refactor some of this in future to reduce code duplication.

This revision is now accepted and ready to land.Sep 17 2019, 10:34 AM
This revision was automatically updated to reflect the committed changes.