From dfbda9a66ae96806323c45b13c04f53dea9ea4a0 Mon Sep 17 00:00:00 2001 From: Jakob Botsch Nielsen Date: Fri, 12 Jan 2024 14:04:05 +0100 Subject: [PATCH] JIT: Unroll newly recognized loops (#96752) --- src/coreclr/jit/optimizer.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/coreclr/jit/optimizer.cpp b/src/coreclr/jit/optimizer.cpp index 7c6f19beb8bf0..2dc0e38a73d5f 100644 --- a/src/coreclr/jit/optimizer.cpp +++ b/src/coreclr/jit/optimizer.cpp @@ -3430,12 +3430,6 @@ PhaseStatus Compiler::optUnrollLoops() // Visit loops in post order (inner loops before outer loops). for (FlowGraphNaturalLoop* loop : m_loops->InPostOrder()) { - // TODO-Quirk: Remove - if (!loop->GetHeader()->HasFlag(BBF_OLD_LOOP_HEADER_QUIRK)) - { - continue; - } - if (BitVecOps::IsMember(&loopTraits, loopsWithUnrolledDescendant, loop->GetIndex())) { continue;