Skip to content

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

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.

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