1; RUN: opt %loadPolly -polly-codegen < %s
2; RUN: opt %loadPolly -polly-detect -analyze  < %s | not FileCheck %s
3
4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
5
6define void @MAIN__() nounwind {
7entry:
8  br i1 undef, label %bb6.preheader, label %bb3
9
10bb3:                                              ; preds = %bb3, %entry
11  br i1 undef, label %bb6.preheader, label %bb3
12
13bb6.preheader:                                    ; preds = %bb3, %entry
14  br i1 undef, label %bb11, label %bb9.preheader
15
16bb9.preheader:                                    ; preds = %bb6.preheader
17  br label %bb11
18
19bb11:                                             ; preds = %bb9.preheader, %bb6.preheader
20  br label %bb15
21
22bb15:                                             ; preds = %bb15, %bb11
23  br i1 undef, label %bb26.loopexit, label %bb15
24
25bb26.loopexit:                                    ; preds = %bb15
26  br i1 undef, label %bb31, label %bb29.preheader
27
28bb29.preheader:                                   ; preds = %bb26.loopexit
29  br label %bb29
30
31bb29:                                             ; preds = %bb29, %bb29.preheader
32  %indvar47 = phi i32 [ 0, %bb29.preheader ], [ %indvar.next48, %bb29 ] ; <i32> [#uses=1]
33  %indvar.next48 = add i32 %indvar47, 1           ; <i32> [#uses=2]
34  %exitcond50 = icmp eq i32 %indvar.next48, undef ; <i1> [#uses=1]
35  br i1 %exitcond50, label %bb31, label %bb29
36
37bb31:                                             ; preds = %bb29, %bb26.loopexit
38  %errtot.3 = phi float [ undef, %bb26.loopexit ], [ undef, %bb29 ] ; <float> [#uses=0]
39  ret void
40}
41
42; CHECK: SCOP:
43