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

[PowerPC] Let base implementation decide if MI is rematerizable by default #75772

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

bzEq
Copy link
Collaborator

@bzEq bzEq commented Dec 18, 2023

If MI is not PPC specific instructions, let base implementation decide if MI is rematerizable.
This can fix failure in #75570 after #75271 .

Copy link
Member

@nemanjai nemanjai left a comment

Choose a reason for hiding this comment

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

I believe that the thinking was that this would help catch an issue where we set the Remat flag on an instruction and forget to update this. But the requirement is too strong since this may be called with target independent instructions.
Perhaps we can get both by asserting that the instruction has a size of zero (or at least less than 4) in the default case.
In any case, this unblocks a bot/commit, so LGTM.

@bzEq
Copy link
Collaborator Author

bzEq commented Dec 18, 2023

The premerge failure is on windows and is related to MLIR.

@bzEq bzEq merged commit 2f82662 into llvm:main Dec 18, 2023
3 of 4 checks passed
@bzEq bzEq deleted the remat-base branch December 18, 2023 09:39
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.

None yet

3 participants