-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)" #88818
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
…omic max (llvm#77072)" These changes caused correctness regressions observed in Rust, see llvm#77072 (comment). This reverts commit 0e501db. This reverts commit fbb27d1.
8b6d4e5
to
1deeee3
Compare
Hi @nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. |
I'm not sure if this description is accurate: cc @topperc |
Probably should mention min/max specifically. |
I'd also add that this fixes a regression from a previous LLVM 18 point release:
|
@nikic Hi, have you not reverted those two patches in main branch yet? I plan to submit new patch which has addressed this issue. |
@yingopq The patches are not reverted in main, so you can base your fix on top of the existing changes (or revert them as part of your PR, if that's easier?) |
Should it be consistent with the release branch, so that it is more convenient to merge into the release branch? |
Maybe you can revert them in your new PR, then we can use rebase and push to merge your PR. |
Given that this change has already caused two distinct bugs, I don't think we will accept a backport for it anyway, so don't worry about the release branch. |
These changes caused correctness regressions observed in Rust, see #77072 (comment) and following. Revert the incorrect changes from the release branch.
This reverts commit 0e501db.
This reverts commit fbb27d1.