-
Notifications
You must be signed in to change notification settings - Fork 13.7k
[NFC] add explanation to register flags doc #91803
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
[NFC] add explanation to register flags doc #91803
Conversation
Created using spr 1.3.4
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.
Most of these could use more elaboration, especially earlyclobber and renamable
|
||
* - ``early-clobber`` | ||
- ``RegState::EarlyClobber`` | ||
- Register definition happens before uses. |
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.
This one probably needs more elaboration
|
||
* - ``renamable`` | ||
- ``RegState::Renamable`` | ||
- Register that may be renamed. |
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.
Also probably needs more explanation
These are just copy pasted from the enum value comments |
Where I usually go to refer to them, and still don't understand what renamable actually does |
@@ -540,6 +540,9 @@ Register Flags | |||
The table below shows all of the possible register flags along with the | |||
corresponding internal ``llvm::RegState`` representation: | |||
|
|||
.. | |||
Keep this in sync with MachineInstrBuilder.h |
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.
Does this appear in the generated output?
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.
Pull Request: llvm#91803
No description provided.