davide added inline comments. ================ Comment at: lib/Transforms/Scalar/Reassociate.cpp:2182-2185 + // Skip dead basic blocks. + if (RankMap.count(&*BI) == 0) + continue; + ---------------- You may want to expand this comment a bit. https://reviews.llvm.org/D26154