Add assert to avoid unexpected situation
In line 68, func getBlockFreqRelativeToEntryBlock assume getEntryFreq() is non-zero, but the function could return 0, add assert to confirm it. Reviewed By: HaohaiWen Differential Revision: https://reviews.llvm.org/D148606
Loading
Please sign in to comment