Skip to content

[BOLT][NFC] Add MCSubtargetInfo to MCPlusBuilder #68223

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
merged 1 commit into from
Oct 6, 2023

Conversation

mtvec
Copy link
Contributor

@mtvec mtvec commented Oct 4, 2023

On RISC-V, it's helpful to have access to MCSubtargetInfo while generating instructions in MCPlusBuilder. For example, a return instruction might be generated differently based on if the target supports compressed instructions (c.jr ra) or not (jalr ra).

On RISC-V, it's helpful to have access to `MCSubtargetInfo` while
generating instructions in `MCPlusBuilder`. For example, a return
instruction might be generated differently based on if the target
supports compressed instructions (`c.jr ra`) or not (`jalr ra`).
@mtvec mtvec added the BOLT label Oct 4, 2023
Copy link
Contributor

@rafaelauler rafaelauler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtvec mtvec merged commit 8fb83bf into llvm:main Oct 6, 2023
@mtvec mtvec deleted the bolt-sti-mcplusbuilder branch October 6, 2023 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants