[llvm] [GVN][PGO] Skip GVN if entry BlockFreq is 0 (PR #166336)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 07:26:10 PST 2025
mtrofin 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.
>
> Some of the internal workloads have GVN in the top 5 when profiled for compile-time. Is there a way to disambiguate from a partial profile?
To resolve this, could this be behind a flag?
https://github.com/llvm/llvm-project/pull/166336
More information about the llvm-commits
mailing list