-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
[Coro] Amortize debug info processing cost in CoroSplit #109032
Open
artempyanykh
wants to merge
15
commits into
llvm:main
Choose a base branch
from
artempyanykh:fast-coro-upstream
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a987688
[NFC][Coro] Add helpers for coro cloning with a TimeTraceScope
artempyanykh 3cb662c
[NFC][Utils] Extract CloneFunctionAttributesInto from CloneFunctionInto
artempyanykh 7b6c39f
[Utils] Extract ProcessSubprogramAttachment from CloneFunctionInto
artempyanykh a611c5e
[NFC][Utils] Remove DebugInfoFinder parameter from CloneBasicBlock
artempyanykh 06c10b1
[NFC][Utils] Clone basic blocks after we're done with metadata in Clo…
artempyanykh fad2d5e
[NFC][Utils] Extract BuildDebugInfoMDMap from CloneFunctionInto
artempyanykh 53d8285
[NFC][Utils] Extract CloneFunctionMetadataInto from CloneFunctionInto
artempyanykh b268200
[NFC][Utils] Extract CloneFunctionBodyInto from CloneFunctionInto
artempyanykh a6cba59
[Utils] Eliminate DISubprogram set from BuildDebugInfoMDMap
artempyanykh 0eefa6a
[NFC] Remove adhoc definition of MDMapT in IRMover
artempyanykh d7f598c
[Utils] Identity map global debug info on first use in CloneFunction*
artempyanykh e14a46f
[Coro] Prebuild a global debug info set and share it between all coro…
artempyanykh d1479b9
[Analysis] Add DebugInfoCache analysis
artempyanykh 4c76540
[Coro] Use DebugInfoCache to speed up cloning in CoroSplitPass
artempyanykh f2ec90a
[Analysis] Add a doxygen comment to DebugInfoCache
artempyanykh 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
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'm not sure this comment is making a lot of sense as a function-level comment. To be honest even the original comment was confusing: which AttributeList? If you know the answer to this, could you take the chance provided by this NFC commit to improve the comment?
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 second commit could also use a brief commit message describing why this change is useful
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 comment refers to the
AttributeList
field (the only such) of a Function which has e.g. parameters and return value attributes. I updated the comment in #112976 to (hopefully) make it a bit clearer.