-
Notifications
You must be signed in to change notification settings - Fork 5k
JIT: Add a (disabled) prototype for a generalized promotion pass #83388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
46e8c65
JIT: Prototype a generalized promotion pass
jakobbotsch faa8260
Remove some old code
jakobbotsch b4cf692
Fix accounting mistake
jakobbotsch 8c602ee
Fix a JITDUMP
jakobbotsch 294e7be
Add overlapped assignment heuristic
jakobbotsch 9fde2ee
Fix register candidate assignment accounting
jakobbotsch a030d98
Add a note in the dump when known conservative copies happen
jakobbotsch dd3b8e3
Weighted uses
jakobbotsch a693d29
Add a fix to enable promotion in customer scenario
jakobbotsch 705e419
JIT: Generalize handling of commas in block morphing
jakobbotsch 75c3063
Write call arg uses before arg instead of call
jakobbotsch 47f27f5
Clean up
jakobbotsch bcc1dd3
Change types of comma args properly in call arg morphing
jakobbotsch 724a582
Fix write-back of local on RHS of assignment
jakobbotsch 4d3f4ba
Run jit-format
jakobbotsch 14113a9
Remove some layouts, change some costing, clean up
jakobbotsch 0c7bbf3
Early out when there are no locals
jakobbotsch 0b140bf
Run jit-format
jakobbotsch c4a04d7
Remove dead code
jakobbotsch c9974d5
Some more cleanup
jakobbotsch fc075a3
Add more fine-grained stress modes
jakobbotsch 0c55c69
Add some stress modes
jakobbotsch 91db180
Uncomment stress check
jakobbotsch 9c7c765
Merge branch 'main' of github.com:dotnet/runtime into generalized-pro…
jakobbotsch 8603c5f
Merge branch 'main' of github.com:dotnet/runtime into generalized-pro…
jakobbotsch 6ec92c8
Propagate lvSuppressedZeroInit
jakobbotsch c8e4dcb
Comment stress mode only enabling
jakobbotsch 31f8769
Run jit-format
jakobbotsch 2075c61
Explicitly zero-init promoted locals with suppressed init
jakobbotsch d2d4401
Fix JITDUMP wrong format specifier
jakobbotsch 3308998
Disallow tail merging from adding predecessors to the scratch BB
jakobbotsch 1862149
Avoid picking scratch block as victim instead
jakobbotsch baaff75
Oops
jakobbotsch 24773f1
Fix gtSplitTree for some void-typed commas
jakobbotsch 43d0315
Add to jit-experimental
jakobbotsch d9421de
Clean up, add function headers, disable by default
jakobbotsch 3a3950d
Fix assert, fix visit order for LHS of ASGs
jakobbotsch 9a36a5a
Run jit-format
jakobbotsch 9424e6f
Create some data structures lazily
jakobbotsch 7424c03
Add GTF_DEBUG_NODE_MORPHED properly in new block morph
jakobbotsch 1305aad
Update statement side effects on replacer changes
jakobbotsch 9709b7b
Skip local copy prop assertions in problematic case
jakobbotsch e58a2d5
Merge branch 'main' of github.com:dotnet/runtime into generalized-pro…
jakobbotsch a22b62f
Undo accidental reversion
jakobbotsch 7595039
Fix treatment of retbufs
jakobbotsch 585a85a
Adjust some stress frequencies
jakobbotsch e8ebbb5
Fix incorrect assert
jakobbotsch 7c8e130
Rename pass to "physical promotion"
jakobbotsch dbfb517
Merge branch 'main' of github.com:dotnet/runtime into generalized-pro…
jakobbotsch 5158616
Fix after merge
jakobbotsch 96bad09
Revert unnecessary change
jakobbotsch 3172f37
Include headers instead of forward declarations
jakobbotsch 0b335ff
Remove some currently unused accounting
jakobbotsch cbb7d84
Clean up, add some comments
jakobbotsch 0809197
Avoid diffs
jakobbotsch 8338272
Run jit-format
jakobbotsch ea2786d
Merge branch 'main' of github.com:dotnet/runtime into generalized-pro…
jakobbotsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrong for commas, we were changing the type of the effective node but not the entire comma tree.