-
Notifications
You must be signed in to change notification settings - Fork 29
[AIEX] Support simple Tail Call Opt #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
It would be nice to have a description of the tail call strategy. It's intricate management of the stack, We need to setup arguments to the tail callee, we need to restore the callee saved registers, I would like to know what determines whether something is a tail call, do we try to free up as much stack as possible, etc. |
c0cb1e2 to
199ba27
Compare
llvm/test/CodeGen/AIE/aie2/GlobalISel/prologepilog-tail-call-opt.ll
Outdated
Show resolved
Hide resolved
llvm/test/CodeGen/AIE/aie2p/GlobalIsel/prologepilog-tail-call-opt.ll
Outdated
Show resolved
Hide resolved
199ba27 to
e2505bc
Compare
konstantinschwarz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for applying all comments.
I think this looks good as an initial version of tail call optimization.
Handling more complicated scenarios can come as follow-up work.
[AutoBump] Merge with 8280651 (Sep 17) (5)
No description provided.