Skip to content

Count OBJ/BLK as memory uses - #66135

Merged
jakobbotsch merged 2 commits into
dotnet:mainfrom
SingleAccretion:Fix-Mem-Liveness
Mar 7, 2022
Merged

jakobbotsch merged 2 commits into
dotnet:mainfrom
SingleAccretion:Fix-Mem-Liveness

Conversation

@SingleAccretion

Copy link
Copy Markdown
Contributor

Otherwise SSA can fail to insert a memory PHI where one is needed.

We're expecting diff in one test where I noticed this while rewriting liveness to stop relying on location nodes.

We need to count OBJ/BLK as uses, otherwise SSA can
fail to insert a memory PHI where one is needed.
@ghost ghost added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member labels Mar 3, 2022
@ghost

ghost commented Mar 3, 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

Otherwise SSA can fail to insert a memory PHI where one is needed.

We're expecting diff in one test where I noticed this while rewriting liveness to stop relying on location nodes.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

@SingleAccretion

Copy link
Copy Markdown
Contributor Author

Will assume the timeouts are not related, this is a one-diff change that only makes us more correct/pessimistic.

@SingleAccretion
SingleAccretion marked this pull request as ready for review March 4, 2022 18:02
@SingleAccretion

Copy link
Copy Markdown
Contributor Author

@dotnet/jit-contrib

@jakobbotsch
jakobbotsch merged commit 0022738 into dotnet:main Mar 7, 2022
@SingleAccretion
SingleAccretion deleted the Fix-Mem-Liveness branch March 7, 2022 10:59
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 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 community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants