Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

Force all locals to stack and add an interface for the SP/FP.

Implement GT_LCL_ADDR / GT_LCL_FLD as samples.

Next step is to add the stackifier (it'll run before RA and liveness, since it may need to introduce locals and we want to be able to enregister them). After that - parameter homing, and that should bring us to syntactically (if not yet semantically) valid WASM.

Force all locals to stack and add an interface for the SP/FP.

Implement GT_LCL_ADDR / GT_LCL_FLD as samples.
@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib

@am11 am11 added the arch-wasm WebAssembly architecture label Dec 16, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

@SingleAccretion
Copy link
Contributor Author

I have went through the change again and noticed an issue with the LCL_ADDR implementation, so have pushed a change with some fix(es).

@AndyAyersMS
Copy link
Member

We just took a GUID update so SPMI failures are "expected"... new collections on the way.

@AndyAyersMS
Copy link
Member

Going to give up on trying to get SPMI to pass, this PR should have no impact on it.

@AndyAyersMS AndyAyersMS merged commit dd1dc37 into dotnet:main Dec 17, 2025
122 of 127 checks passed
@SingleAccretion SingleAccretion deleted the WasmJit-Stk branch December 17, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants