[CodeGen] Fix the branch probability assertion in r318202
Due to integer precision, we might have numerator greater than denominator in the branch probability scaling. Add a check to prevent this from happening. llvm-svn: 318353
Loading
Please register or sign in to comment