BlockFrequencyInfo should generally only be fetched in PGO builds where a PSI profile summary is available. However, LoopVectorize was fetching it unconditionally.
This results in a compile-time improvement: http://llvm-compile-time-tracker.com/compare.php?from=f332498f9880d276890562fb861a375a13bfd9d9&to=7b224f4a8ef2355298051f8f326eccda4cb07b41&stat=instructions%3Au