diff --git a/src/coreclr/jit/compiler.cpp b/src/coreclr/jit/compiler.cpp index f3eee4ec87bcdd..228f7131a76ea8 100644 --- a/src/coreclr/jit/compiler.cpp +++ b/src/coreclr/jit/compiler.cpp @@ -5766,7 +5766,9 @@ void Compiler::RecomputeLoopInfo() fgComputeReachability(); optSetBlockWeights(); // Rebuild the loop tree annotations themselves + // But don't leave the iter info lying around. optFindLoops(); + optClearLoopIterInfo(); m_dfsTree = fgComputeDfs(); optFindNewLoops();