This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Fall back when translating musttail calls
ClosedPublic

Authored by paquette on Aug 27 2019, 3:58 PM.

Details

Summary

These are currently translated as normal functions calls in AArch64. This is incorrect. Until we have proper tail call lowering support, we shouldn't translate these.

Add a IsMustTailCall bit in CallLoweringInfo to start plumbing along the information necessary for tail call optimization.

Diff Detail

Repository
rL LLVM

Event Timeline

paquette created this revision.Aug 27 2019, 3:58 PM
aemerson accepted this revision.Aug 27 2019, 5:56 PM

LGTM.

This revision is now accepted and ready to land.Aug 27 2019, 5:56 PM
This revision was automatically updated to reflect the committed changes.