-
Notifications
You must be signed in to change notification settings - Fork 15.2k
CodeGen: Add RegisterClass by HwMode #158269
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
arsenm
merged 28 commits into
main
from
users/arsenm/codegen/targetinstrinfo-add-regclass-by-hwmode
Sep 19, 2025
+1,066
−113
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e038b70
CodeGen: Add RegisterClass by HwMode
arsenm b4275a6
Review comments
arsenm 77f9e0a
Move getInitValueAsRegClass into CodeGenTarget
arsenm dcb4387
Use CodeGenTarget::getInitValueAsRegClass in CodeGenInstAlias
arsenm 149b9fd
getInitValueAsRegClass(Like)
arsenm 0987bce
Fix crash in CodeGenInstAlias
arsenm 44b63fe
Avoid unnecessary declaration
arsenm 943b1f2
Move where emitRegClassByHwModeDecoders is called
arsenm 7c391b6
Fix comment
arsenm b9bd629
Check RegisterClassLike
arsenm 768d114
Use check literal
arsenm 4e0978f
Structured binding
arsenm 586c48f
Re-use RegInfo HwMode kind
arsenm f780b46
CodeGenRegBank to RegClassByHwMode
arsenm e862ef3
comment typos
arsenm 2fee8f8
Address comment
arsenm 706d391
Stop multiple inheritance from Operand<iPTR> in test
arsenm efbcd71
Use find_if
arsenm 9bbaca3
Move RegClassByHwModeUses definition to header
arsenm 4edfaaa
Another InfoByHwMode structure binding
arsenm abff318
Apply suggestions from code review
arsenm 4722d06
Update llvm/include/llvm/CodeGen/TargetInstrInfo.h
arsenm 8c4a25b
emplace_front returns reference
arsenm 8bfcdcc
variable for Target.getAllRegClassByHwMode
arsenm 53a024c
assert message
arsenm 080dcc6
whitespace is hard on GitHub
arsenm d479071
whitespace
arsenm a9006f3
GitHub whitespace is impossible
arsenm 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
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.