Skip to content

Revert "Optimize tuple.extract of gets in BinaryInstWriter" #5945

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

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

tlively
Copy link
Member

@tlively tlively commented Sep 15, 2023

Reverts #5941

The binary writer optimization is not always correct when stack IR optimizations have run. Revert the change until we can fix it.

@tlively tlively enabled auto-merge (squash) September 15, 2023 01:07
@tlively tlively requested a review from kripken September 15, 2023 01:07
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #5945 (227010a) into main (b2e9227) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5945      +/-   ##
==========================================
- Coverage   42.80%   42.80%   -0.01%     
==========================================
  Files         485      485              
  Lines       74964    74943      -21     
  Branches    11966    11958       -8     
==========================================
- Hits        32088    32077      -11     
+ Misses      39670    39665       -5     
+ Partials     3206     3201       -5     
Files Changed Coverage Δ
src/wasm-stack.h 85.32% <ø> (-0.27%) ⬇️
src/wasm/wasm-stack.cpp 38.60% <100.00%> (-0.10%) ⬇️

... and 4 files with indirect coverage changes

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm for now, let's talk more about this next week

@tlively tlively merged commit 16a5993 into main Sep 15, 2023
@tlively tlively deleted the revert-5941-better-tuple-extract branch September 15, 2023 01:45
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
…ly#5941)" (WebAssembly#5945)

This reverts commit 56ce1ea. The binary writer
optimization is not always correct when stack IR optimizations have run. Revert
the change until we can fix it.
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.

2 participants