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

Authored by efriedma on Tue, May 15, 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.Tue, May 15, 6:45 PM
paquette accepted this revision.Wed, May 16, 9:24 AM

Thanks for finding this. LGTM!

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