1 ; RUN: opt < %s -passes='print<block-freq>' -disable-output 2>&1 | FileCheck %s
4 ; CHECK-LABEL: Printing analysis {{.*}} for function 'test1':
5 ; CHECK-NEXT: block-frequency-info: test1
6 ; CHECK-NEXT: entry: float = 1.0, int = [[ENTRY:[0-9]+]]
10 ; CHECK-NEXT: loop: float = 16.5
12 switch i32 undef, label %loop [
17 ; CHECK-NEXT: return: float = 1.0