1; RUN: opt < %s -analyze -block-freq -enable-new-pm=0 | FileCheck %s 2; RUN: opt < %s -analyze -lazy-block-freq -enable-new-pm=0 | FileCheck %s 3; RUN: opt < %s -passes='print<block-freq>' -disable-output 2>&1 | FileCheck %s 4 5define void @test1() { 6; CHECK-LABEL: Printing analysis {{.*}} for function 'test1': 7; CHECK-NEXT: block-frequency-info: test1 8; CHECK-NEXT: entry: float = 1.0, int = [[ENTRY:[0-9]+]] 9entry: 10 br label %loop 11 12; CHECK-NEXT: loop: float = 32.0 13loop: 14 switch i32 undef, label %loop [ 15 i32 0, label %return 16 i32 1, label %return 17 ] 18 19; CHECK-NEXT: return: float = 1.0 20return: 21 ret void 22} 23