7  7 
entry:

8  8 
%cond = icmp eq i32 %a, 42

9  9 
br i1 %cond, label %exit, label %abort

10  
; CHECK: edge entry > exit probability is 1023 / 1024

11  
; CHECK: edge entry > abort probability is 1 / 1024⏎

 10 
; CHECK: edge entry > exit probability is 1048575 / 1048576⏎

 11 
; CHECK: edge entry > abort probability is 1 / 1048576

12  12 

13  13 
abort:

14  14 
call void @abort() noreturn


25  25 
i32 2, label %case_b

26  26 
i32 3, label %case_c

27  27 
i32 4, label %case_d]

28  
; CHECK: edge entry > exit probability is 1023 / 1027

29  
; CHECK: edge entry > case_a probability is 1 / 1027

30  
; CHECK: edge entry > case_b probability is 1 / 1027

31  
; CHECK: edge entry > case_c probability is 1 / 1027

32  
; CHECK: edge entry > case_d probability is 1 / 1027⏎

 28 
; CHECK: edge entry > exit probability is 1048575 / 1048579⏎

 29 
; CHECK: edge entry > case_a probability is 1 / 1048579

 30 
; CHECK: edge entry > case_b probability is 1 / 1048579

 31 
; CHECK: edge entry > case_c probability is 1 / 1048579

 32 
; CHECK: edge entry > case_d probability is 1 / 1048579

33  33 

34  34 
case_a:

35  35 
br label %case_b


54  54 
entry:

55  55 
%cond1 = icmp eq i32 %a, 42

56  56 
br i1 %cond1, label %exit, label %dom

57  
; CHECK: edge entry > exit probability is 1023 / 1024

58  
; CHECK: edge entry > dom probability is 1 / 1024⏎

 57 
; CHECK: edge entry > exit probability is 1048575 / 1048576⏎

 58 
; CHECK: edge entry > dom probability is 1 / 1048576

59  59 

60  60 
dom:

61  61 
%cond2 = icmp ult i32 %a, 42
