You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This despite the fact that the code for tailcaller() here only needs to be a jump to tailcallee()...
Removing sret from tailcaller() doesn't help, but removing it from both works.
(Note: removing it only from tailcallee() shouldn't work, because then tailcaller() can't copy %rdi to %rax on exit)
32-bit x86 code seems to have this problem as well, by the way.
The text was updated successfully, but these errors were encountered:
Extended Description
Sibcall optimization does not take place when 'sret' is used on X86-64. For example:
This despite the fact that the code for tailcaller() here only needs to be a jump to tailcallee()...
Removing sret from tailcaller() doesn't help, but removing it from both works.
(Note: removing it only from tailcallee() shouldn't work, because then tailcaller() can't copy %rdi to %rax on exit)
32-bit x86 code seems to have this problem as well, by the way.
The text was updated successfully, but these errors were encountered: