nikic wrote: Missing justification for the change. This looks very wrong to me, as partial profiles are common. The optimization for the non-profiled parts should be the same as absence of the profile. https://github.com/llvm/llvm-project/pull/166336