Skip to content

[BOLT] RepRet is X86-specific #88286

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
Apr 11, 2024
Merged

[BOLT] RepRet is X86-specific #88286

merged 1 commit into from
Apr 11, 2024

Conversation

urnathan
Copy link
Contributor

Bolt's RepRet pass is x86-specific, no need to add it for non-x86 targets. (Note, there's an AArch64 equivalent further down where ADRRelaxation only gets added for that target.)

@urnathan urnathan marked this pull request as ready for review April 10, 2024 18:03
Copy link
Contributor

@maksfb maksfb left a comment

Choose a reason for hiding this comment

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

LGTM. Small nit: use imperative statement for the title.

@maksfb maksfb added the BOLT label Apr 10, 2024
@maksfb
Copy link
Contributor

maksfb commented Apr 10, 2024

And add "[NFC]" since the pass will exit on non-x86 platforms right away.

@urnathan urnathan merged commit e2d4823 into llvm:main Apr 11, 2024
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