dotnet / dotnet/runtime

Review `if (fgGlobalMorph)` checks

Open
#122,975 5 comments 0 reactions 0 assignees View on GitHub
area-CodeGen-coreclr tenet-performance
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

As per https://github.com/dotnet/runtime/pull/122368#discussion_r2668225607, some paths in morph restrict optimizations to only running as part of `global morph` and does so to avoid having to deal with VN updates. We should investigate whether these checks can be removed and whether we can keep VN up to date even if morph is called later, or whether we can stop calling morph entirely after VN.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.