Skip to content

Tune LSRA with APX EGPR #114561

Open
Open

Description

@anthonycanino

This task is to tune LSRA to use APX EGPRs more efficiently (if applicable). As part of this effort, we will do some further investigation into the quality of the code that is generated with the EGPRs and investigate if/what further improvements can be made to the codegen.

Activity

  1. added
    apx
    on Apr 11, 2025
  2. ghost added
    needs-area-label
    on Apr 11, 2025
  3. added
    untriaged
    on Apr 11, 2025
  4. added
    area-CodeGen-coreclr
    and removed
    needs-area-label
    on Apr 12, 2025
  5. dotnet-policy-service commented on Apr 12, 2025

    @dotnet-policy-service
    Contributor

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

  6. removed
    untriaged
    on Apr 15, 2025
  7. added this to the 10.0.0 milestone on Apr 15, 2025
  8. DeepakRajendrakumaran commented on Jul 9, 2025

    @DeepakRajendrakumaran
    Contributor

    Have looked into this for regression with additional registers. One issue which stood out was cse heuristics- especially the moderate threshold. We do not differentiate between intervals with function calls(prefers callee saved) vs intervals with no function calls(prefers callee trashed). This causes some regressions with APX since it creased the number of Callee Trashed registers only. Tanner had a relevant comment here

    I'm trying to tweak the heuristic here and understand if it helps.

  9. JulieLeeMSFT commented on Jul 15, 2025

    @JulieLeeMSFT
    Member

    Anthony: Ongoing discussions at #117560, if an optimization is found, RC1/RC2 target, likely .NET 11 due to larger changes.

  10. JulieLeeMSFT commented on Jul 23, 2025

    @JulieLeeMSFT
    Member

    Moved to .NET 11.

  11. modified the milestones: 10.0.0, 11.0.0 on Jul 23, 2025
  12. modified the milestones: 11.0.0, 12.0.0 on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apxarea-CodeGen-coreclr

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions