diff --git a/src/coreclr/jit/codegenlinear.cpp b/src/coreclr/jit/codegenlinear.cpp index ef49804dc850d8..38ac9a92d86d4a 100644 --- a/src/coreclr/jit/codegenlinear.cpp +++ b/src/coreclr/jit/codegenlinear.cpp @@ -344,8 +344,8 @@ void CodeGen::genCodeForBBlist() #if FEATURE_LOOP_ALIGN if (GetEmitter()->emitEndsWithAlignInstr()) { - // we had better be planning on starting a new IG - assert(needLabel); + // Force new label if current IG ends with an align instruction. + needLabel = true; } #endif