Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This happens in the second phase, after inlinings, thus giving us more potential pairings to work with. When we see a box, we look at its usages and find matching unbox/decont instructions. We also look down `set` chains in case the unbox/decont is a `set` away. If we see a pair, and the original unboxed value is still available, we rewrite the unbox to a `set` of the original value, removing a usage of the boxed value.
- Loading branch information
Showing
1 changed file
with
53 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