-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try and move, rather than spill, registers if possible.
Sometimes we have values in registers that we're going to need in the future, but they're in registers that we need to use *right now*. Previously, we spilled them immediately. This commit tries, when possible, to move those values to another register. There is more we could do to optimise this, but this still tends to reduce the number of spills and unspills, so it's already a win.
- Loading branch information
Showing
1 changed file
with
23 additions
and
5 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