[MachineOutliner] Don't save/restore LR for tail calls.
ClosedPublic

Authored by efriedma on May 15 2018, 6:45 PM.

Details

Summary

The cost computation correctly assumes we do this, but the actual lowering was wrong.

Diff Detail

Repository
rL LLVM
efriedma created this revision.May 15 2018, 6:45 PM
paquette accepted this revision.May 16 2018, 9:24 AM

Thanks for finding this. LGTM!

This revision is now accepted and ready to land.May 16 2018, 9:24 AM
This revision was automatically updated to reflect the committed changes.