Skip to content
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

Fix some issues #1

Merged

Conversation

imbillow
Copy link

@imbillow imbillow commented Apr 3, 2023

- Improve handling of `GPostfix` in `setPrinterParameters` function in `DecoderEmitter.cpp`
- Update `setPrinterParameters` to handle more cases when setting `GPostfix`
- Add `switch` statement to handle different cases when setting `GPostfix` based on output language
- Remove unnecessary line setting `GPostfix` in `DecoderEmitter.cpp`
- Refactor PrinterCapstone.cpp to utilize a new normal mnemonic function for MatchableInfo objects
- Replace hardcoded Mnemonic.upper() with new function call for readability
- Change type of `Mn` to `std::string` in [llvm/utils/TableGen/PrinterCapstone.cpp]
- Use `mapped_iterator` to uppercase `Mnemonic` before assigning to `Mn`
- Replace ARM_REG_ENDING with TargetName_REG_ENDING in PrinterCapstone.cpp
@Rot127 Rot127 merged commit 0e3aea0 into Rot127:tblgen_capstone_backends Apr 3, 2023
@Rot127
Copy link
Owner

Rot127 commented Apr 3, 2023

Thank you a lot!

Rot127 pushed a commit that referenced this pull request May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants