Skip to content

JIT bails on for some multi-dimensional array expansions #131887

Open

Description

@jakobbotsch

On targets without JIT this causes fallback to interpreter since crossgen2 does not support precompiling md array intrinsics. We can solve that by guaranteeing the expansion for all cases.

Currently we have 3 separate bailouts in impArrayAccessIntrinsic:

  1. Rank <= 1
  2. Rank > 3
  3. Set/Address requiring a runtime type check

We should consider addressing 2 and 3.

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Aug 5, 2026
  2. jakobbotsch commented on Aug 5, 2026

    @jakobbotsch
    MemberAuthor

    I will put this in .NET 12, but feel free to pull it to .NET 11 if we think this qualifies at this point in the cycle.

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 5, 2026
  4. added this to the 12.0.0 milestone on Aug 5, 2026
  5. jakobbotsch commented on Aug 5, 2026

    @jakobbotsch
    MemberAuthor

    cc @dotnet/jit-contrib

  6. dotnet-policy-service commented on Aug 5, 2026

    @dotnet-policy-service
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions