1; RUN: opt %loadPolly -polly-codegen < %s
2target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
3
4define void @clause_SetSplitField(i32 %Length) nounwind inlinehint {
5entry:
6  br i1 undef, label %bb1, label %bb6
7
8bb1:                                              ; preds = %entry
9  unreachable
10
11bb6:                                              ; preds = %entry
12  %tmp = zext i32 %Length to i64                  ; <i64> [#uses=1]
13  br label %bb8
14
15bb7:                                              ; preds = %bb8
16  %indvar.next = add i64 %indvar, 1               ; <i64> [#uses=1]
17  br label %bb8
18
19bb8:                                              ; preds = %bb7, %bb6
20  %indvar = phi i64 [ %indvar.next, %bb7 ], [ 0, %bb6 ] ; <i64> [#uses=2]
21  %exitcond = icmp ne i64 %indvar, %tmp           ; <i1> [#uses=1]
22  br i1 %exitcond, label %bb7, label %return
23
24return:                                           ; preds = %bb8
25  ret void
26}
27