-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Sink CodeInfo transformation into transform_result_for_cache
, continued
#57375
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
18 commits
Select commit
Hold shift + click to select a range
3d708e3
Sink CodeInfo transformation into transform_result_for_cache
serenity4 2c7642d
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 cef3041
Use CodeInfo to determine inlining policy
serenity4 1dd0ad5
Convert IRCode to CodeInfo for IR retrieval for inlining
serenity4 c3f9168
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 4b7f7dd
Run `cfg_simplify!` if source CodeInfo is inlineable
serenity4 10225d9
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 79a8eed
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 b6bf593
Fix phi node renaming for deleted forward edges
serenity4 f1d9392
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 6c69af0
Fix doctest
serenity4 837a9dc
Consider previous instructions from the same block as processed
serenity4 3b7e491
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 1cad9da
Defer CFG simplification to IR retrieval for inlining
serenity4 d1a80cd
Revert doctest change
serenity4 03ad9c0
Defer computation of new phi node values to when it is used
serenity4 e0da4b7
Merge branch 'master' of github.com:JuliaLang/julia into sinktransform
serenity4 ff40eb2
Fixes
serenity4 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
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.
Is this new
retrieve_ir_for_inlining
(and the newOptimizationState
handler ofsrc_inlining_policy
) tested somewhere? IIUC any test that would hit this.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.
Never mind, because
transform_result_for_cache
infinish!
is only applied toresult
that will be cached (due toisdefined(result, :ci)
), inference local results and will keep theOptimizationState
as is. So these new inlining code should be actually hit during the native compilation.