1 ; RUN: opt -passes='loop(simple-loop-unswitch),verify<loops>' -S < %s | FileCheck %s
2 ; RUN: opt -verify-memoryssa -passes='loop-mssa(simple-loop-unswitch),verify<loops>' -S < %s | FileCheck %s
7 define i32 @test2(i32 %c) {
11 ; CHECK: !prof ![[MD0:[0-9]+]]
13 ; CHECK: !prof ![[MD1:[0-9]+]]
16 switch i32 %c, label %default [
19 ], !prof !{!"branch_weights", i32 99, i32 1, i32 2}
33 ; CHECK: ![[MD0]] = !{!"branch_weights", i32 99, i32 1, i32 2}
34 ; CHECK: ![[MD1]] = !{!"branch_weights", i32 2, i32 1}