1 ; RUN: opt -passes='loop(unswitch),verify<loops>' -S < %s | FileCheck %s
2 ; RUN: opt -enable-mssa-loop-dependency=true -verify-memoryssa -passes='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}