-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[AMDGPU][SDAG] Legalise v2i32 or/xor/and instructions to make use of 64-bit wide instructions #140694
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
chrisjbris
merged 36 commits into
llvm:main
from
chrisjbris:124775_AMDGPU_v2i32_bitwise_ops
Sep 11, 2025
Merged
[AMDGPU][SDAG] Legalise v2i32 or/xor/and instructions to make use of 64-bit wide instructions #140694
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c4dcb8c
[AMDGPU][SDAG] Legalise v2i32 or/xor/and instructions to make use of
chrisjbris ce16329
Remove over-enthusiastic clang-format
chrisjbris a54235d
Respond to some review comments
chrisjbris 45da1d1
Add reviewer requested tests
chrisjbris c3cb854
Suppress over-enthusiastic clang-format
chrisjbris ad83e03
Temporarily remove r600 from or.ll test
chrisjbris 9ce5bdd
Add SGPR and VGPR tests to and.ll and temporarily remove the r600 run…
chrisjbris 0fc0980
Remove dead check-lines from or.ll
chrisjbris 5a6e6e4
Apply reviewer comments to performFNegCombine
chrisjbris f2fd7d2
Remove dead code
chrisjbris 4f19d19
Re-enstate r600 tests in independent files. This action has already t…
chrisjbris 5f3e156
Remove unhelpful commentary.
chrisjbris 3e0fe34
Remove unnecessary driveby clang-format
chrisjbris 89ea0ae
Remove dead checks in xor.ll
chrisjbris 75c72c8
Remove unnnecessary node duplication
chrisjbris 57dafa9
Remove dead xorcombine.
chrisjbris 0a05bba
Work to fix regressions in integer select srcmod generation when v2i32
chrisjbris f10e16f
Correct clang-format
chrisjbris 51e44b8
Remove unnecessary code reordering
chrisjbris a0b2a91
clang-format
chrisjbris fe8b60e
clang-format
chrisjbris 309e2f9
Simplify ReplaceSrc()
chrisjbris 7815116
Remove dead ternary expression from AMDGPUDAGToDAG.
chrisjbris bc4813a
Change unnecessary use of PeekSrc to Src in ReplaceSrc().
chrisjbris 5791b10
Update comment for v2i32 case.
chrisjbris 82e51ed
Apply reviewer corrections to getShiftForReduction()
chrisjbris b4fcd59
Update getShiftForReduction() to type check and add comment.
chrisjbris a8668b7
Remove dead truncate, correct flags() call and add detail to comment.
chrisjbris 151460d
Correct comment.
chrisjbris 90fa0e7
Updated test.
chrisjbris 81cf80c
Replace getShiftForeReduction with an additional combine in
chrisjbris 5736525
Correct formatting.
chrisjbris 1943ddc
Remove deprecated getShiftForRefuction() function
chrisjbris 4fc323e
Add TODO to performExtractVectorEltCombine()
chrisjbris c9c5967
Simplify combine with isConstorConstSplat().
chrisjbris deb29c8
Further simplify extract_vector_elt combine
chrisjbris 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.