Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Apr 16, 2023

Just the simple items.

@ghost ghost added community-contribution Indicates that the PR has been added by a community member area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labels Apr 16, 2023
@ghost
Copy link

ghost commented Apr 16, 2023

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

Issue Details

Just the simple items.

Couple regressions are expected from the FIELD/GTF_EXCEPT changes (we weren't setting it for some spans).

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

@SingleAccretion SingleAccretion marked this pull request as ready for review April 18, 2023 20:44
@SingleAccretion
Copy link
Contributor Author

SingleAccretion commented Apr 18, 2023

Diffs.

One regression that will be fixed by #84868.

@dotnet/jit-contrib

Comment on lines +50 to +55
if (addr->isContained() && addr->OperIs(GT_LCL_ADDR))
{
genEmitStoreLclTypeSimd12(treeNode, addr->AsLclFld()->GetLclNum(), addr->AsLclFld()->GetLclOffs());
genUpdateLife(treeNode);
return;
}
Copy link
Contributor Author

@SingleAccretion SingleAccretion Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative fix to this would have been to simply disallow containment of local addresses for SIMD12s.

This would work because accurate liveness tracking for SIMD12s is neither used nor important, but it felt more consistent with the rest of codegen to handle it. Perhaps, one day, we'll delete this code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite confusing that emitHandleMemOp does not support contained LCL_ADDR nodes when Lowering::ContainCheckIndir does. I wonder if we have more bugs around this.

@jakobbotsch jakobbotsch merged commit 2cfef64 into dotnet:main Apr 19, 2023
@SingleAccretion SingleAccretion deleted the Small-TODO-ADDR branch April 19, 2023 20:24
@ghost ghost locked as resolved and limited conversation to collaborators May 20, 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 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