• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -simple-loop-unswitch -disable-output
2
3; PR38283
4; PR38737
5define void @f1() {
6for.cond1thread-pre-split.lr.ph.lr.ph:
7  %tobool4 = icmp eq i16 undef, 0
8  br label %for.cond1thread-pre-split
9
10for.cond1thread-pre-split:                        ; preds = %if.end, %for.cond1thread-pre-split.lr.ph.lr.ph
11  %tobool3 = icmp eq i16 undef, 0
12  br label %for.body2
13
14for.body2:                                        ; preds = %if.end6, %for.cond1thread-pre-split
15  br i1 %tobool3, label %if.end, label %for.end
16
17if.end:                                           ; preds = %for.body2
18  br i1 %tobool4, label %if.end6, label %for.cond1thread-pre-split
19
20if.end6:                                          ; preds = %if.end
21  br i1 undef, label %for.body2, label %for.end
22
23for.end:                                          ; preds = %if.end6, %for.body2
24  ret void
25}
26