This is an archive of the discontinued LLVM Phabricator instance.

[VE] Optimize leaf functions
ClosedPublic

Authored by kaz7 on Nov 16 2020, 6:25 AM.

Details

Summary

Optimize leaf functions by not generating save/restore for callee saved
registers. Update regression tests also.

Diff Detail

Event Timeline

kaz7 created this revision.Nov 16 2020, 6:25 AM
kaz7 requested review of this revision.Nov 16 2020, 6:25 AM
simoll accepted this revision.Nov 16 2020, 7:27 AM

LGTM.
We should upstream the utils/update_llc_test_checks.py changes that were used to generate these tests.

This revision is now accepted and ready to land.Nov 16 2020, 7:27 AM
kaz7 updated this revision to Diff 305513.Nov 16 2020, 7:37 AM

Rebase to the upstream/master and update newly added regression tests,
lsv.ll and fastcc_callee.ll.

This revision was landed with ongoing or failed builds.Nov 16 2020, 7:38 AM
This revision was automatically updated to reflect the committed changes.
llvm/test/CodeGen/VE/Scalar/shr.ll