lebedev.ri added a comment. I'm not sure this fits here, this is very specific to `GraphT=Function*`, since `LoopInfo::getLoopFor()` is only defined for (function) basic blocks. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75024/new/ https://reviews.llvm.org/D75024