This is an archive of the discontinued LLVM Phabricator instance.

[mips] Restrict tail call optimization
ClosedPublic

Authored by sdardis on Sep 20 2016, 6:52 AM.

Details

Summary

The tail call optimization was being used without proper consideration of
ABI requirements for saving and restoring the GP. This patch restricts tail
call optimization to functions within the same translation unit.

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis updated this revision to Diff 71926.Sep 20 2016, 6:52 AM
sdardis retitled this revision from to [mips] Restrict tail call optimization.
sdardis updated this object.
sdardis set the repository for this revision to rL LLVM.
sdardis added a subscriber: llvm-commits.
sdardis updated this revision to Diff 76398.Oct 31 2016, 7:23 AM
sdardis removed a reviewer: zoran.jovanovic.
sdardis removed rL LLVM as the repository for this revision.

Rebase and ping.

vkalintiris accepted this revision.Nov 20 2016, 7:26 AM
vkalintiris edited edge metadata.

LGTM.

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