This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Allow tail calls of fastcc functions from C CallingConv functions.
ClosedPublic

Authored by sfertile on Nov 22 2017, 6:55 AM.

Details

Summary

Currently the tail call checks require the caller and callee to have the same calling convention. This patches relaxes this restriction to allow fastcc callees to be tail-called from ccc callers.

Diff Detail

Repository
rL LLVM

Event Timeline

sfertile created this revision.Nov 22 2017, 6:55 AM
nemanjai accepted this revision.Nov 27 2017, 7:27 AM

LGTM.

This revision is now accepted and ready to land.Nov 27 2017, 7:27 AM
This revision was automatically updated to reflect the committed changes.