- Notifications
You must be signed in to change notification settings - Fork5.2k
JIT: Late expansion for casts#97075
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
17 commits Select commitHold shift + click to select a range
de14015 Late expansion of casts
EgorBo2c72dea Fix build
EgorBoa5345fa Address feedback
EgorBoefdeae6 Clean up
EgorBo587c66e Improve TP
EgorBoa72014f Handle MustNot case
EgorBob147e67 Final clean up
EgorBoaee96f2 No, this is the final clean up
EgorBo2e6795c Clean up
EgorBoa5f7079 Apply suggestions from code review
EgorBo34523d2 Address feedback
EgorBo91b47eb Merge branch 'late-cast-expansion' of github.com:EgorBo/runtime-1 int…
EgorBoc189b80 remove more code
EgorBo6684563 clean up
EgorBo6f42250 Merge branch 'main' of github.com:dotnet/runtime into late-cast-expan…
EgorBocdb7b47 Fix control flow
EgorBoe1122c8 Clean up
EgorBoFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Final clean up
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitb147e67c117493660cd1edcda5e1a7e80c38bba1
There are no files selected for viewing
24 changes: 13 additions & 11 deletionssrc/coreclr/jit/assertionprop.cpp
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
2 changes: 1 addition & 1 deletionsrc/coreclr/jit/compiler.cpp
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -5056,7 +5056,7 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl | ||
| DoPhase(this, PHASE_EXPAND_TLS, &Compiler::fgExpandThreadLocalAccess); | ||
| // Expand casts | ||
| DoPhase(this,PHASE_EXPAND_CASTS, &Compiler::fgLateCastExpansion); | ||
EgorBo marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| // Insert GC Polls | ||
| DoPhase(this, PHASE_INSERT_GC_POLLS, &Compiler::fgInsertGCPolls); | ||
1 change: 1 addition & 0 deletionssrc/coreclr/jit/compphases.h
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
1 change: 1 addition & 0 deletionssrc/coreclr/jit/gentree.h
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
35 changes: 33 additions & 2 deletionssrc/coreclr/jit/helperexpansion.cpp
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
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.