You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code sequence is from Wasm-compiled System.Private.CoreLib, from int System.SpanHelpers.IndexOfAny<__Canon>(ref __Canon, __Canon, __Canon, int)
Notice the local.get 7; local.set 74 and local.get 8; local.set 75 at 00136-013C. We move 7 -> 74 and 8 -> 75 only to immediately emit local.get 74; local.get 75 as the arguments for the call at 0155. It would be nice if we could coalesce the moves between locals and instead use local.get 7; local.get 8 directly in cases like these.
Activity
dotnet-policy-service commentedon Oct 29, 2026
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Oct 29, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
pavelsavara commentedon Oct 30, 2026
Does
wasm-opteliminate it ?lewing commentedon Oct 30, 2026
I'll take a look at a targeted improvement while avoiding big RA changes
lewing commentedon Oct 30, 2026
#136729
[wasm] Forward single-use local copies before stackification (dotnet#…