Commit de29e26
JIT: Synthesize profile data when invalid counts are discarded (#133206)
Edge-count reconstruction can discard stale, malformed, all-zero, or
unreconstructable PGO data after profile incorporation has already
begun. Running `RepairLikelihoods` afterward preserves the default edge
likelihoods as profile-derived, preventing later heuristics from
adjusting cold throw paths.
Use `ResetAndSynthesize` when incorporation clears `fgPgoHaveWeights`;
successfully incorporated profiles continue through repair.
> [!NOTE]
> This pull request description was generated by GitHub Copilot.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 7e807be commit de29e26
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3041 | 3041 | | |
3042 | 3042 | | |
3043 | 3043 | | |
3044 | | - | |
| 3044 | + | |
| 3045 | + | |
3045 | 3046 | | |
3046 | | - | |
3047 | | - | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
3048 | 3057 | | |
3049 | 3058 | | |
3050 | 3059 | | |
| |||
0 commit comments