forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Generalize last-use copy elision for implicit byrefs
Allow omitting the copy if we have _any_ last use before the call, not just if the candidate itself is dead. For example, for something like M(s, s.A); the first argument can now have its copy elided if the access in the second argument is the last use. Fix dotnet#80494
- Loading branch information
1 parent
4544bdd
commit ef6380b
Showing
1 changed file
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters