1 ; RUN: opt < %s -loop-unswitch -S < %s 2>&1 | FileCheck %s
2 ; RUN: opt < %s -loop-unswitch -enable-mssa-loop-dependency=true -verify-memoryssa -S < %s 2>&1 | FileCheck %s
4 ; This test checks if unswitched condition preserve make.implicit metadata.
6 define i32 @test(i1 %cond) {
8 ; CHECK: br i1 %cond, label %..split_crit_edge, label %.loop_exit.split_crit_edge, !make.implicit !0
12 br i1 %cond, label %continue, label %loop_exit, !make.implicit !0
15 call void @some_func()
22 declare void @some_func()