Use fixed-point representation for BranchProbability.
[oota-llvm.git] / test / Analysis / BranchProbabilityInfo / pr22718.ll
index 0de4d643c9c9ff80d796aa3146b2d72a2236ec30..51bbd13e83c164a9f1697c534e3439c25e51a4d5 100644 (file)
@@ -4,8 +4,8 @@
 ; reflected in the probability computation because the weight is larger than
 ; the branch weight cap (about 2 billion).
 ;
-; CHECK: edge for.body -> if.then probability is 216661881 / 2166666667 = 9.9
-; CHECK: edge for.body -> if.else probability is 1950004786 / 2166666667 = 90.0
+; CHECK: edge for.body -> if.then probability is 0x0cccba45 / 0x80000000 = 10.00%
+; CHECK: edge for.body -> if.else probability is 0x733345bb / 0x80000000 = 90.00% [HOT edge]
 
 @y = common global i64 0, align 8
 @x = common global i64 0, align 8