Skip to content

Conversation

@SingleAccretion
Copy link
Contributor

@SingleAccretion SingleAccretion commented Apr 14, 2023

For a very long time, both OBJ/BLK<SIMD> and IND<SIMD> representations for a SIMD-typed load have been legal. There is no point in having both, so this change disallows the former (as a less canonical one).

Plus a number of supporting changes (see individual commits).

Diffs.

@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 Apr 14, 2023
@ghost
Copy link

ghost commented Apr 14, 2023

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

Issue Details

Some positive diffs are expected.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

From compiler.hpp to gentree.cpp.

Motivation: more methods are to come and the header file is very large already.
@SingleAccretion SingleAccretion force-pushed the No-Blk-Simd-Upstream branch 4 times, most recently from 8e51a8b to 647dfc8 Compare April 15, 2023 22:45
The IND(COMMA) -> COMMA(IND) transformation decanonicalizes array
access as it is only performed on "uses" (i. e. not stores).

Simply do not do this for SIMD types. Evidently, this unblocks some if conversions.
Preserve the behavior of setting the "is used in a SIMD intrinsic" flag.

Will bring additional positive diffs due to the "ldobj" change.
@SingleAccretion SingleAccretion marked this pull request as ready for review April 16, 2023 21:26
@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib

@jakobbotsch
Copy link
Member

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member

I think the failures are current known ones.

@SingleAccretion
Copy link
Contributor Author

SingleAccretion commented Apr 19, 2023

I looked as well and believe so too. Jitstress run.

@jakobbotsch jakobbotsch merged commit 71be885 into dotnet:main Apr 19, 2023
@SingleAccretion SingleAccretion deleted the No-Blk-Simd-Upstream branch April 20, 2023 12:09
@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