Skip to content

[RyuJit/WASM] Crossgen2 integration and further factoring - #121563

Merged
AndyAyersMS merged 7 commits into
dotnet:mainfrom
SingleAccretion:WasmJit-Cg
Nov 19, 2025
Merged

[RyuJit/WASM] Crossgen2 integration and further factoring#121563
AndyAyersMS merged 7 commits into
dotnet:mainfrom
SingleAccretion:WasmJit-Cg

Conversation

@SingleAccretion

@SingleAccretionSingleAccretion commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

This allows:

int add(int a, int b) => a + b;

to run until the NYI in codegen.

@adamperlin

Copy link
Copy Markdown
Contributor

@SingleAccretion I am starting work on the R2R object writer. Is it alright if I copy the crossgen2 integration bits from this PR for that purpose?

@SingleAccretion

Copy link
Copy Markdown
ContributorAuthor

I am starting work on the R2R object writer. Is it alright if I copy the crossgen2 integration bits from this PR for that purpose?

Sure!

(But do be prepared for them to perhaps change a bit in the course of the review.)

@adamperlin

adamperlin commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

I am starting work on the R2R object writer. Is it alright if I copy the crossgen2 integration bits from this PR for that purpose?

Sure!

(But do be prepared for them to perhaps change a bit in the course of the review.)

Ok, that sounds good! I will be prepared that they may change and I'll check back during review!

@SingleAccretion

Copy link
Copy Markdown
ContributorAuthor

@dotnet/jit-contrib

Comment threadsrc/coreclr/jit/compiler.cpp Outdated
Comment threadsrc/coreclr/inc/corinfo.h Outdated
@am11am11 added the arch-wasm WebAssembly architecture label Nov 15, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@AndyAyersMSAndyAyersMS left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The JIT side of this looks good to me.

@kg any other comments?

Comment threadsrc/coreclr/jit/targetwasm.h
Comment threadsrc/coreclr/tools/Common/JitInterface/JitConfigProvider.cs
@kg

kg commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

The JIT side of this looks good to me.

@kg any other comments?

This LGTM as well! Thanks for all the hard work.

@AndyAyersMS
AndyAyersMS merged commit 4fed3f3 into dotnet:mainNov 19, 2025
156 of 158 checks passed
@SingleAccretion
SingleAccretion deleted the WasmJit-Cg branch November 19, 2025 16:14
@AndyAyersMSAndyAyersMS mentioned this pull request Dec 13, 2025
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Dec 20, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasmWebAssembly architecturearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIcommunity-contributionIndicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@SingleAccretion@adamperlin@kg@am11@jkotas@AndyAyersMS