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

[s390x] Improve handling of negative i32 constants #6952

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

uweigand
Copy link
Member

@uweigand uweigand commented Sep 1, 2023

After #6850 was merged, the s390x back-end now always uses iilf instead of lhi to load negative constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.

After bytecodealliance#6850 was merged,
the s390x back-end now always uses iilf instead of lhi to load negative
constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.
@uweigand uweigand requested a review from a team as a code owner September 1, 2023 15:24
@uweigand uweigand requested review from elliottt and removed request for a team September 1, 2023 15:24
@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 1, 2023
@cfallin
Copy link
Member

cfallin commented Sep 1, 2023

Looks like a flaky test with wasi-sockets (cc @sunfishcode?) -- retrying the merge.

@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 1, 2023
@cfallin
Copy link
Member

cfallin commented Sep 1, 2023

Hmm, the socket test is failing again -- @sunfishcode would you mind taking a look at this test? The PR changes only s390x stuff so shouldn't affect a macOS/x86-64 execution.

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Sep 1, 2023
@cfallin cfallin added this pull request to the merge queue Sep 1, 2023
Merged via the queue into bytecodealliance:main with commit 5e7ee8a Sep 2, 2023
18 checks passed
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Sep 6, 2023
…6952)

After bytecodealliance#6850 was merged,
the s390x back-end now always uses iilf instead of lhi to load negative
constants, which is a small code size regression.

Fix the isle predicate to get back lhi whenever possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants