Skip to content

Improve JIT loop optimizations (.NET 10) #108901

Closed

Description

@BruceForstall

We plan to continue improving JIT optimization capabilities for loop code. An overview of many JIT optimization possibilities is here; this issue will focus on issues we choose to address in .NET 10.

Significant work was done in .NET 9; the list of work here for .NET 10 is much more modest.

The corresponding .NET 9 issue is #93144.

Planned for .NET 10

Update loop inversion implementation

The current loop inversion algorithm is lexical. Convert it to be graph based. This is part of the JIT flowgraph modernization push, and is tracked by #107749.

Loop cloning

Multi-dimensional array improvements

Induction variable optimizations

Loop peeling

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    User StoryA single user-facing feature. Can be grouped under an epic.
    on Oct 15, 2024
  2. added this to the 10.0.0 milestone on Oct 15, 2024
  3. dotnet-policy-service commented on Oct 15, 2024

    @dotnet-policy-service
    Contributor

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

  4. JulieLeeMSFT commented on May 15, 2025

    @JulieLeeMSFT
    Member

    We will revisit loop optimizations in future releases.

  5. locked and limited conversation to collaborators on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

User StoryA single user-facing feature. Can be grouped under an epic.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