Skip to content

Conversation

@anthonycanino
Copy link
Contributor

This PR adjust GenTreeJitIntrinsic to save the base type of SIMD operation as a var_types and not CorInfoType. This is done to allow SIMD operations on types that are not part of the CIL.

Some notes on the changes:

  1. simdBaseJitType has been renamed to simdBaseType and most flows that previous had both a simdBaseJitType and simdBaseType now only use the simdBaseType.
  2. simdBaseType should now refer to the type returned via JitType2PreciseVarType.
  3. Some instances required the less precise, JitType2VarType.
  4. gtAuxiliaryJitType has been left unchanged. Some new functions have been introduced called getCorBaseTypeXX that keep the original behavior.

If we decide to also change gtAuxiliaryJitType I can make the changes and refactor things a bit more.

Current opening PR as draft to get a test run.

@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 31, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 31, 2025
@dotnet-policy-service
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

1 participant