Skip to content

Conversation

@EgorBo
Copy link
Member

@EgorBo EgorBo commented Sep 14, 2022

Fixes #75562
Normally, we set GTF_IND_INVARIANT for string literals when we create IND nodes representing them, but after #49576 GTF_ICON_STR_HDL may be created without GT_IND first, so if it appears later - update its flags.

Also, fix eeGetCPString (used for e.g. DOTNET_JitDisasm) to handle frozen strings

cc @AndyAyersMS

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

ghost commented Sep 14, 2022

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

Issue Details

Fixes #75562
Normally, we set GTF_IND_INVARIANT for string literals when we create IND nodes representing them, but after #49576 GTF_ICON_STR_HDL may be created without GT_IND first, so if it appears later - update its flags.

Also, fix eeGetCPString (used for e.g. DOTNET_JitDisasm) to handle frozen strings

cc @AndyAyersMS

Author: EgorBo
Assignees: EgorBo
Labels:

area-CodeGen-coreclr

Milestone: -

@EgorBo EgorBo merged commit 36aa98b into dotnet:main Sep 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2022
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.

SPMI runtime tests collection failure: Missing flags on tree

3 participants