Skip to content

Commit

Permalink
JIT: Clone newly recognized loops (dotnet#96754)
Browse files Browse the repository at this point in the history
On our win-x64 collections this leads to around 800 more cloned loops (base: 24925, diff: 25775).
  • Loading branch information
jakobbotsch authored Jan 12, 2024
1 parent 46d3b27 commit 3467066
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/coreclr/jit/loopcloning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3010,12 +3010,6 @@ bool Compiler::optObtainLoopCloningOpts(LoopCloneContext* context)
bool result = false;
for (FlowGraphNaturalLoop* loop : m_loops->InReversePostOrder())
{
// TODO-Quirk: Remove
if (!loop->GetHeader()->HasFlag(BBF_OLD_LOOP_HEADER_QUIRK))
{
continue;
}

JITDUMP("Considering loop " FMT_LP " to clone for optimizations.\n", loop->GetIndex());
NaturalLoopIterInfo iterInfo;
if (loop->AnalyzeIteration(&iterInfo))
Expand Down

0 comments on commit 3467066

Please sign in to comment.