-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: change loop inversion edge weight updates and add phase (#48364)
Rename `fgOptWhileLoop` to `optInvertWhileLoop` (using terminology from Muchnick). Split off this transformation into a new phase so it is easier to see its impact. Make the block updates / reorderings that follow into a proper phase as well. Use the test block exit likelihoods to update the profile weights for the edges involved in loop inversion. Because edge weight updates are now consistent we no longer need to recompute edge weights afterwards. Rename `optOptimizeLoops` to `optFindLoops` since it no longer optimizes.
- Loading branch information
1 parent
ba50840
commit 841fc98
Showing
7 changed files
with
401 additions
and
232 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
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
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
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
Oops, something went wrong.