Skip to content

[mono][jit] Improve handling of the ldtoken+ltoken+Type::op_Equal opt… - #81277

Merged
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:type-eq
Jan 28, 2023
Merged

[mono][jit] Improve handling of the ldtoken+ltoken+Type::op_Equal opt…#81277
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:type-eq

Conversation

@vargaz

Copy link
Copy Markdown
Contributor

…imization.

Previously, only comparisons with gshared types were handled, but if gsharing is disabled, its possible to run into cases where both ldtoken calls product a concrete type.

…imization.
Previously, only comparisons with gshared types were handled, but if gsharing
is disabled, its possible to run into cases where both ldtoken calls product
a concrete type.
@vargaz

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vargaz

Copy link
Copy Markdown
ContributorAuthor

This saves around 150k on a wasm hello world.

Comment threadsrc/mono/mono/mini/intrinsics.c
@vargaz
vargaz merged commit ce66d01 into dotnet:mainJan 28, 2023
@vargaz
vargaz deleted the type-eq branch January 28, 2023 01:42
@ghostghost locked as resolved and limited conversation to collaborators Feb 27, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vargaz@lewing@lambdageek