Skip to content

JIT: Consider moving tailcall-to-loop opt to happen earlier #113623

@jakobbotsch

Description

@jakobbotsch

Currently the tailcall-to-loop opt happens in morph, and it creates a loop back to the first IL block. That seems wrong because other phases (like physical promotion) may have introduced IR in the init block that we'd want to execute on the backedge. We should reconsider the phase ordering here.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions