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

[X86] Simplify the API of FixupBWInstPass::getSuperRegDestIfDead. NFC. #65581

Merged
merged 1 commit into from
Sep 7, 2023
Merged

[X86] Simplify the API of FixupBWInstPass::getSuperRegDestIfDead. NFC. #65581

merged 1 commit into from
Sep 7, 2023

Conversation

jayfoad
Copy link
Contributor

@jayfoad jayfoad commented Sep 7, 2023

It is easy to check the returned register for validity so there is no
need to return a separate boolean flag.

It is easy to check the returned register for validity so there is no
need to return a separate boolean flag.
@jayfoad jayfoad requested a review from a team as a code owner September 7, 2023 08:39
Copy link
Collaborator

@RKSimon RKSimon left a comment

Choose a reason for hiding this comment

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

LGTM - cheers

@jayfoad jayfoad merged commit bd3a33c into llvm:main Sep 7, 2023
1 of 2 checks passed
@jayfoad jayfoad deleted the x86fixupbwinsts-simplify branch September 7, 2023 09:19
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
llvm#65581)

It is easy to check the returned register for validity so there is no
need to return a separate boolean flag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants