Skip to content

Commit

Permalink
JIT: Allow compacting loop header blocks (#97205)
Browse files Browse the repository at this point in the history
Minor diffs expected. Removes the last dependency on old loops (that I
know of).
  • Loading branch information
jakobbotsch authored Jan 19, 2024
1 parent b4488ec commit 843316f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/coreclr/jit/fgopt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,12 +945,6 @@ bool Compiler::fgCanCompactBlocks(BasicBlock* block, BasicBlock* bNext)
return false;
}

// Don't compact away any loop entry blocks that we added in optCanonicalizeLoops
if (block->HasFlag(BBF_OLD_LOOP_HEADER_QUIRK))
{
return false;
}

// We don't want to compact blocks that are in different Hot/Cold regions
//
if (fgInDifferentRegions(block, bNext))
Expand Down

0 comments on commit 843316f

Please sign in to comment.