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
parent
d9e71733
Please register or sign in to comment