15 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py2; RUN: opt < %s -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s3 4define void @test1() {5; CHECK-LABEL: 'test1'6; CHECK-NEXT: ---- Branch Probabilities ----7; CHECK-NEXT: edge %entry -> %exit probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge]8;9entry:10 br label %exit11 12exit:13 ret void14}15