-
Notifications
You must be signed in to change notification settings - Fork 14.4k
[flang][openmp]Add UserReductionDetails and use in DECLARE REDUCTION #140066
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
22 commits
Select commit
Hold shift + click to select a range
2b1ea34
[flang][openmp]Add UserReductionDetails and use in DECLARE REDUCTION
Leporacanthicus 4809f3e
Fix review comments
Leporacanthicus dea0887
Use stringswitch and spell details correctly
Leporacanthicus 304575d
Add support for user defined operators in declare reduction
Leporacanthicus ebe6df8
Fix nit comments and add simple bad operator test
Leporacanthicus 1cdc4e4
Fix error messages to be more consistent
Leporacanthicus 647d607
add missed test change
Leporacanthicus eebd884
Improve support for metadirective + declare reduction
Leporacanthicus 7422a16
Fix Klausler reported review comments
Leporacanthicus 136b45b
Fix some semantics issues
Leporacanthicus e380361
[Flang][OpenMP] Fix review comment failed examples
Leporacanthicus 367dee6
Fix review comments
Leporacanthicus e973f03
Fix typo in test
tblah 3e947ea
Use braced initialization
tblah f38de57
Don't create a new parser::Name on the stack
tblah 70462ee
Remove StoreUserReductionName
tblah d147b15
Clang format
tblah 672edfa
Use emplace_back for non-trivial vector element type
tblah 546add0
Change error to unreachable
tblah d364848
Manual clang-format
tblah d12203c
Fix tests
tblah 08a621f
Review comments
tblah 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
Oops, something went wrong.
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.
Nit (feel free to ignore):
emplace_back
may be preferable for non-trivial types in std::vectorThere 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 ignored here (because it is just adding a pointer). But the other one does benefit from emplace_back to construct the variant in place. Thanks