Repository navigation
JIT: fold wasm helper addresses into load offsets - #137510
Merged
Merged
Conversation
Remove a const/add per helper-cell load; leave NativeAOT unchanged. Contributes to dotnet#135985. Co-authored-by: Copilot <[email protected]>
|
Azure Pipelines: Successfully started running 6 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Member
Author
|
@adamperlin PTAL |
Contributor
|
Tagging subscribers to this area: @dotnet/crossgen-contrib |
Contributor
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
Member
Author
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fold module-relative helper-cell addresses into
i32.loadoffsets in late-emitted helper calls, removing a const/add per load. Keep NativeAOT and non-relocating compilation unchanged. Add codegen coverage for reference stores and two-reference struct copies.Size
Measured against
68b16fb0273, independently of the GC-local change:CoreLib is non-composite, compressed with Brotli quality 11 / 4 MiB window and gzip level 9. Havit uses the published module and its SDK-generated compressed assets. The Havit publishes use matching SDK/runtime packages, but the rebuilt application DLL hash differs; very small compressed deltas should not be overinterpreted.
CoreLib's whole-file Brotli regression is a compression interaction: independently compressed code and non-code sections shrink by 55 and 768 bytes, respectively.
Instruction-aware decoding confirms 8,969 CoreLib and 60,511 Havit folds. The only opcode-count changes are the removed
i32.const/i32.addpairs.Validation
DOTNET_GCStress=3; changed R2R activation confirmed.jit-format --untidy, C# whitespace verification, andgit diff --checkpassed.NativeAOT execution and runtime throughput were not measured.
Contributes to #135985.
Note
This PR description was generated with GitHub Copilot.