Skip to content

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
@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.

3 participants