diff --git a/src/coreclr/jit/ifconversion.cpp b/src/coreclr/jit/ifconversion.cpp index f51417453225a..b4b80f311873f 100644 --- a/src/coreclr/jit/ifconversion.cpp +++ b/src/coreclr/jit/ifconversion.cpp @@ -793,5 +793,10 @@ PhaseStatus Compiler::optIfConversion() } #endif + if (madeChanges) + { + fgRenumberBlocks(); + } + return madeChanges ? PhaseStatus::MODIFIED_EVERYTHING : PhaseStatus::MODIFIED_NOTHING; }