1 ; RUN: opt < %s -loop-unswitch -enable-new-pm=0 -verify-memoryssa -S < %s 2>&1 | FileCheck %s
3 ; This test checks if unswitched condition preserve make.implicit metadata.
5 define i32 @test(i1 %cond) {
7 ; CHECK: br i1 %cond, label %..split_crit_edge, label %.loop_exit.split_crit_edge, !make.implicit !0
11 br i1 %cond, label %continue, label %loop_exit, !make.implicit !0
14 call void @some_func()
21 declare void @some_func()