tschuett added a comment. https://llvm.org/docs/CodingStandards.html#don-t-evaluate-end-every-time-through-a-loop Or does `getBlockCount()`changes in every iteration? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128295/new/ https://reviews.llvm.org/D128295