Skip to content

Commit

Permalink
Call fgRenumberBlocks in optIfConversion (#92821)
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored Oct 1, 2023
1 parent 2508c70 commit 215145e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/coreclr/jit/ifconversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,5 +793,10 @@ PhaseStatus Compiler::optIfConversion()
}
#endif

if (madeChanges)
{
fgRenumberBlocks();
}

return madeChanges ? PhaseStatus::MODIFIED_EVERYTHING : PhaseStatus::MODIFIED_NOTHING;
}

0 comments on commit 215145e

Please sign in to comment.