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
See #80489 (comment). We could still omit these kinds of copies if we analyze the rest of the args and see that the last use happens before the call and is itself not a candidate for copy elision.
Activity
JIT: Generalize last-use copy elision for implicit byrefs
jakobbotsch commentedon Feb 6, 2023
I experimented with this in #80851 but generally didn't find it to be worth the effort.