Skip to content

Fix a couple issues with GTF_GLOB_REF setting - #66247

Merged
jakobbotsch merged 1 commit into
dotnet:mainfrom
SingleAccretion:Fix-Some-Flags-Issues
Mar 7, 2022
Merged

Fix a couple issues with GTF_GLOB_REF setting#66247
jakobbotsch merged 1 commit into
dotnet:mainfrom
SingleAccretion:Fix-Some-Flags-Issues

Conversation

@SingleAccretion

@SingleAccretionSingleAccretion commented Mar 5, 2022

Copy link
Copy Markdown
Contributor

Add it to INDs and BLKs off of exposed ADDRs in addition to OBJs.

Remove code from args morphing which was re-deriving the side effects flags for an OBJ argument, it was:

a) Unnecessary, as morph has already done all the work.
b) Incorrect, as it lost GTF_GLOB_REF for OBJ(ADDR(LCL (AX)))-like trees.

Surgically fixes some asserts seen during TYP_STRUCTLCL_FLD work.

No diffs.

@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Mar 5, 2022
Add it to INDs and BLKs off of exposed ADDRs in addition to OBJs.
Remove code from args morphing which was re-deriving the side effects
flags for an OBJ argument, it was:
a) Unnecessary, as morph has already done all the work.
b) Incorrect, as it lost GTF_GLOB_REF for OBJ(ADDR(LCL (AX)))-like trees.
@ghostghost added the community-contribution Indicates that the PR has been added by a community member label Mar 5, 2022
@ghost

ghost commented Mar 5, 2022

Copy link
Copy Markdown

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

Issue Details

Add it to INDs and BLKs off of exposed ADDRs in addition to OBJs.

Remove code from args morphing which was re-deriving the side effects flags for an OBJ argument, it was:

a) Unnecessary, as morph has already done all the work.
b) Incorrect, as it lost GTF_GLOB_REF for OBJ(ADDR(LCL (AX)))-like trees.

Surgically fixes some asserts seen during TYP_STRUCTLCL_FLD work.

No diffs are expected.

Author:SingleAccretion
Assignees:-
Labels:

area-CodeGen-coreclr

Milestone:-

@SingleAccretion

Copy link
Copy Markdown
ContributorAuthor

@dotnet/jit-contrib

@SingleAccretion
SingleAccretion marked this pull request as ready for review March 5, 2022 20:21
@jakobbotsch
jakobbotsch merged commit 380a472 into dotnet:mainMar 7, 2022
@SingleAccretion
SingleAccretion deleted the Fix-Some-Flags-Issues branch March 7, 2022 19:00
@ghostghost locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-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.

2 participants

@SingleAccretion@jakobbotsch