-
Notifications
You must be signed in to change notification settings - Fork 14.7k
[AMDGPU][SDAG] Support source modifiers on select integer operands #147325
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
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d4ac937
Add new test for source modifiers on select
chrisjbris c89274e
Populate check-lines before patching
chrisjbris b6b3726
[AMDGPU][SDAG] Support source modifiers as integer on select
chrisjbris dea39d1
Simplify switch in BitwiseToSrcModifierOp()
chrisjbris 004dc9f
[NFC] Correct typo in BitwiseToSrcModifierOp()
chrisjbris b27ce62
Fix bitcast type in performSelectCombine()
chrisjbris f503034
Respond to first review comments
chrisjbris e073552
Respond to secon review comments - rename function and correct test
chrisjbris 000ddc8
[NFC] Remove incomplete dag-style comment
chrisjbris 2604329
Make test for bitwise src mods more stringent and correct fneg-fabs o…
chrisjbris 97d93d6
Reviewer corrections
chrisjbris f255ddc
Refactor to support the source modifiers on either or both operands.
chrisjbris 2e2249a
Fix Typo.
chrisjbris a505a72
Respond to reviewer - Add i16 tests, simplify obtaining type
chrisjbris a8bd726
Inline bitcast node creation.
chrisjbris e5f1e67
Add functional implementation for i64
chrisjbris 767cc11
Fix formatting
chrisjbris 686919f
[DAGCombine] Move the AMDGPU combine to Target Indepenent DAGCombine
chrisjbris 4c79caf
Remove dead code that was moved to the TI DAGCombiner
chrisjbris c265ed4
Canonicalise TI select operand variable names and update tests
chrisjbris d658adb
Fix missed clang-format
chrisjbris 9fb7344
Suppress overzealous clang-format
chrisjbris 29d9b3d
Suppress overzealous clang-format
chrisjbris cd5c732
Remove unnecessary lambda and refactor foldSelectOfSourceMods() to fi…
chrisjbris ec42e07
[NFC] Minor corrections to whitespace and test name
chrisjbris 4bd51d0
Add tighter constraints to apply combine and update tests.
chrisjbris b0140bd
Further constrain shouldFoldSelectWithIdentityConstant(), preventing …
chrisjbris ce7cd98
Fix broken insert-delay-alu-bug.ll test
chrisjbris fe28221
Replace target-specific function names with target-independent names
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
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.