In line 68, func getBlockFreqRelativeToEntryBlock assume getEntryFreq() is
non-zero, but the function could return 0, add assert to confirm it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D148606
Add assert to avoid unexpected situation XinWang10 on Apr 17 2023, 11:23 PM. Authored by
Details In line 68, func getBlockFreqRelativeToEntryBlock assume getEntryFreq() is
Diff Detail
|