Skip to content

Commit

Permalink
JIT: Add support for induced field accesses in physical promotion
Browse files Browse the repository at this point in the history
Add support for promoting fields based on the fact that assignment
decomposition induces new field accesses. To do so we store all struct
assignments that involve candidates for physical promotion as part of
the initial accounting pass. Then when picking the replacements we do it
as a fixpoint computation, iteratively expanding the set of replacements
based on field accesses induced by decomposition assignment with the
existing set of replacements.

Fix dotnet#87371
  • Loading branch information
jakobbotsch committed Jun 12, 2023
1 parent 75de0c8 commit b034e48
Show file tree
Hide file tree
Showing 2 changed files with 522 additions and 48 deletions.
Loading

0 comments on commit b034e48

Please sign in to comment.