lukel97 wrote: The invalid results being returned from BlockFrequencyInfo has been fixed in #157888 so this should be ready to review now. There is one crash to do with struct return types that #160274 fixes. https://github.com/llvm/llvm-project/pull/158690