1 ; RUN: opt -passes='simple-loop-unswitch<nontrivial>' %s -S | FileCheck %s
5 ; CHECK: define {{.*}} @mem_cgroup_node_nr_lru_pages
6 define i32 @mem_cgroup_node_nr_lru_pages(i1 %tree) {
10 for.cond: ; preds = %if.end8, %entry
11 br i1 %tree, label %if.end8, label %if.else
13 if.else: ; preds = %for.cond
14 callbr void asm sideeffect ".pushsection __jump_table, \22aw\22 \0A\09.popsection \0A\09", "X,~{dirflag},~{fpsr},~{flags}"(i8* blockaddress(@mem_cgroup_node_nr_lru_pages, %for.cond5))
15 to label %if.end8 [label %for.cond5]
17 for.cond5: ; preds = %if.else, %for.cond5
18 %call6 = call i1 @foo()
19 br i1 %call6, label %if.end8.loopexit, label %for.cond5
21 if.end8.loopexit: ; preds = %for.cond5
24 if.end8: ; preds = %if.end8.loopexit, %if.else, %for.cond