-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
optimizer: support callsite annotations of @inline
and @noinline
#40754
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
3bd88cf
Implemented callsite `@noinline`
dghosef 84e61ce
Added compat note
dghosef 91e09cd
make `@noinline` work across whole expression
dghosef 9a98b85
Added ability to use `@noinline` and `@inline` in do blocks
dghosef ebf8a37
handle constant-prop' and generalize a bit
aviatesk b1c742f
wip
aviatesk 980ef45
Revert "wip"
aviatesk 70939e8
Revert "handle constant-prop' and generalize a bit"
aviatesk 4846324
Improved @noinline/@inline documentation and tests
dghosef ff33482
Cleanup callsite noinline code, handle const-prop callsite noinline
dghosef 01b88ce
Generalize documentation and cleanup tests a bit
dghosef 791fb22
Merge branch 'master' of github.com:dghosef/julia
dghosef 6f7f867
Merge branch 'master' into pr-40754/dghosef/master
aviatesk 3e0a185
refactor and improve tests
aviatesk f0bfa98
support callsite `@inline` annotations
aviatesk 78f9d34
Merge branch 'master' into dghosef/master
aviatesk f03b07f
support nested callsite annotations
aviatesk 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 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
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.
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.
I think the easy and customizable approach to support callsite
@inline
annotation is to check the statement flag withininlining_policy
, and thus I ended up changing the signature of the interface.@Keno does it sound reasonable/okay to you ?