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

Cherrypick and release-notes update for 0.35.1. #3909

Merged

Conversation

cfallin
Copy link
Member

@cfallin cfallin commented Mar 9, 2022

Creating a patch release to cherrypick the fix from #3906 for Cranelift.

cfallin added 2 commits March 9, 2022 11:56
In bytecodealliance#3849, I moved uextend over to ISLE in the x64 backend. Unfortunately, the lowering patterns had a bug in the i32-to-i64 special case (when we know the generating instruction zeroes the upper 32 bits): it wasn't actually special casing for an i32 source! This meant that e.g. zero extends of the results of i8 adds did not work properly.

This PR fixes the bug and updates the runtest for extends significantly to cover the narrow-value cases.

No security impact to Wasm as Wasm does not use narrow integer types.

Thanks @bjorn3 for reporting!
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:x64 Issues related to x64 codegen isle Related to the ISLE domain-specific language wasmtime:docs Issues related to Wasmtime's documentation labels Mar 9, 2022
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

Subscribe to Label Action

cc @cfallin, @fitzgen

This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "isle", "wasmtime:docs"

Thus the following users have been cc'd because of the following labels:

  • cfallin: isle
  • fitzgen: isle

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@cfallin
Copy link
Member Author

cfallin commented Mar 9, 2022

Hmm, so the option to merge this with two separate commits (the cherrypick of the earlier PR, and then the release-notes update) is disabled because the repository now only allows "Squash and Merge". This is probably not the right solution for merges into release branches that are actually carrying multiple logically separate changes around; if I had to cherrypick multiple PRs into the point release then it would seem wrong to squash them together; cc @tschneidereit to think more about this / perhaps see if we can have the restriction only on main?

In any case, for forward progress, I'll go ahead and merge this.

@cfallin cfallin merged commit 8cde5b7 into bytecodealliance:release-0.35.1 Mar 9, 2022
@cfallin cfallin deleted the release-0.35.1-update branch March 9, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:x64 Issues related to x64 codegen cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language wasmtime:docs Issues related to Wasmtime's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants