================ @@ -640,6 +663,9 @@ void assignProfile(BinaryFunction &BF, if (Jump->Flow == 0) continue; + // Skip the artificial sink block ---------------- aaupov wrote: You're right. Didn't get the full context of this loop. https://github.com/llvm/llvm-project/pull/95047