Skip to content

[LSRA][RyuJIT] Tune register selection heuristics #43318

@CarolEidt

Description

@CarolEidt

The current register allocation selection heuristics are less than optimal. At the very least, they result in poor selection in the face of heavy register pressure, as seen in #8846, and more broadly described in #6824.

The plan for addressing this is:

Future work

Additional issues that should be considered and/or addressed: #7999 (heuristics for incoming parameters), #7996 (include encoding size in heuristics, beyond REG_VAR_ORDER)

General register allocation issues that should be analyzed to determine if tuning the heuristics will address them:

category:cq
theme:register-allocator
skill-level:expert
cost:large

Metadata

Metadata

Assignees

Labels

Bottom Up WorkNot part of a theme, epic, or user storyUser 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 SuperPMItenet-performancePerformance related issue

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions