mkuper added a comment. Err, never mind, I got confused, PSI has a single threshold for what a "hot" region is, doesn't matter if it's a function or a block. But the main problem (lack of BFI) still stands. https://reviews.llvm.org/D27734