-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[NVPTX] Add syncscope support for cmpxchg #140812
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
akshayrdeodhar
merged 27 commits into
llvm:main
from
akshayrdeodhar:upstream/cmpxchg-syncscope
Jul 16, 2025
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a5f5f62
[NVPTX] Add syncscope support for cmpxchg
akshayrdeodhar 15c4fa4
fix build and tests
akshayrdeodhar 5c7d417
clang-format
akshayrdeodhar fbca61b
Update APIs in VE target
akshayrdeodhar 13018b7
Fence scope is the same as cmpxchg scope- dont add API
akshayrdeodhar af29d07
test default syncscope
akshayrdeodhar 1882525
[NVPTX] Add syncscope support for cmpxchg
akshayrdeodhar 66d415f
clang-format
akshayrdeodhar c719cb2
black format
akshayrdeodhar 9f167c0
address review comments
akshayrdeodhar d32fcb0
clang-format
akshayrdeodhar 6b2e54c
Define new CMPXCHG instruction which takes sem, scope, and addressspa…
akshayrdeodhar 28024fc
SM60 supports scope on atom.cas
akshayrdeodhar bbd7015
Replace old F_ATOMIC_3 completely with a single-opcode variation
akshayrdeodhar 2a5d458
cleanup
akshayrdeodhar 3722e80
clang-format
akshayrdeodhar dd6cb8c
No changes necessary to AtomicExpandPass
akshayrdeodhar 91c38a5
formatting
akshayrdeodhar 9ff3279
update tests after rebase
akshayrdeodhar acd31be
address review comments
akshayrdeodhar 4fb5784
update tests, address review comments
akshayrdeodhar e007be2
remove unnecessary multiclass
akshayrdeodhar 8a79f5d
only emit one slice of tests
akshayrdeodhar d76cb8b
black
akshayrdeodhar 676b684
address review comments
akshayrdeodhar 9bfa008
Update llvm/lib/Target/NVPTX/NVPTX.h
akshayrdeodhar 5290112
Merge branch 'main' into upstream/cmpxchg-syncscope
akshayrdeodhar 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.
Uh oh!
There was an error while loading. Please reload this page.