Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Aug 21, 2023

Fixes #90711

tldr:
getHelperFtn may now (since #90412) return different result over time for the same helper id (e.g. if the underlying helper is being jitted to its final tier in background). It doesn't cause any issues for JIT currently as that function is called once per method in lower. So theoretically it's possible to see something like this in codegen:

call [CORINFO_HELPER_ISINSTANCEOFANY]  ;; indirect call
call CORINFO_HELPER_ISINSTANCEOFANY    ;; direct call

Other EE APIs with potentially similar behavior are listed in #90886

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 21, 2023
@ghost ghost assigned EgorBo Aug 21, 2023
@ghost
Copy link

ghost commented Aug 21, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #90711

tldr:
getHelperFtn may now (since #90412) return different result over time for the same helper id (e.g. if the underlying helper is being jitted to its final tier in background). It doesn't cause any issues for JIT currently as that function is called once per method in lower. So theoretically it's possible to see something like this in codegen:

call [CORINFO_HELPER_ISINSTANCEOFANY]  ;; indirect call
call CORINFO_HELPER_ISINSTANCEOFANY    ;; direct call

Other API calls with potentially similar behavior are listed in #90886

Author: EgorBo
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo
Copy link
Member Author

EgorBo commented Aug 21, 2023

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EgorBo EgorBo merged commit 8915575 into dotnet:main Aug 22, 2023
@EgorBo EgorBo deleted the fix-spmi-collect branch August 22, 2023 08:58
@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure JIT\\superpmi\\superpmicollect\\superpmicollect.cmd
2 participants