Skip to content

Conversation

tannergooding
Copy link
Member

No description provided.

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

ghost commented Sep 26, 2022

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

Issue Details

null

Author: tannergooding
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@tannergooding
Copy link
Member Author

@kunalspathak, could you assist with this?

I was working on a different PR but was getting failures, so I've isolated it down to something that is trivial and "should" work. But which raises an assert in the Arm64 LSRA

@kunalspathak
Copy link
Contributor

I will check it out @tannergooding

@kunalspathak
Copy link
Contributor

@tannergooding - This should unblock you.

@kunalspathak
Copy link
Contributor

Earlier, the interval corresponding to CreateScalarUnsafe was a regular one, but with this change, it is a "constant interval". If a register holds a constant value and if we ever have to save upper half of this vector register, we should clear the constant value from the register as well. We were not doing it and that caused the assert failure. The fix was to clear it as well.

@tannergooding
Copy link
Member Author

Thanks much for the fix!

@tannergooding tannergooding marked this pull request as ready for review September 27, 2022 17:17
@tannergooding
Copy link
Member Author

This should be ready for review. CC. @dotnet/jit-contrib

Notably SPMI diffs has marked everything as "missed". I've not seen this before

@jakobbotsch
Copy link
Member

Notably SPMI diffs has marked everything as "missed". I've not seen this before

The missed contexts look to be just a small fraction of the overall contexts. It is expected due to the revert #76235 that put us back at an old JIT-EE GUID, so the collection we are using now is quite old (from last Sunday) and JIT changes since then are causing some misses.

@tannergooding
Copy link
Member Author

Thanks! That's a bit unfortunate as I was expecting a few diffs to show up, but I think that's fine overall

Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

@tannergooding tannergooding merged commit 0e13a02 into dotnet:main Sep 27, 2022
@tannergooding tannergooding deleted the vector-improvements-2 branch September 27, 2022 19:13
@ghost ghost locked as resolved and limited conversation to collaborators Oct 28, 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.

3 participants