1; RUN: opt %loadPolly -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s 2; 3; CHECK: Statements { 4; CHECK-NEXT: Stmt_Stmt 5; CHECK-NEXT: Domain := 6; CHECK-NEXT: { Stmt_Stmt[i0] : 0 <= i0 <= 1023 }; 7; CHECK-NEXT: Schedule := 8; CHECK-NEXT: { Stmt_Stmt[i0] -> [i0] }; 9; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0] 10; CHECK-NEXT: { Stmt_Stmt[i0] -> MemRef_A[i0] }; 11; CHECK-NEXT: Instructions { 12; CHECK-NEXT: store i32 %i.0, i32* %arrayidx, align 4, !polly_split_after !0 13; CHECK-NEXT: } 14; CHECK-NEXT: } 15; 16; Function Attrs: noinline nounwind uwtable 17define void @func(i32* %A) #0 { 18entry: 19 br label %for.cond 20 21for.cond: ; preds = %for.inc, %entry 22 %i.0 = phi i32 [ 0, %entry ], [ %add, %for.inc ] 23 %cmp = icmp slt i32 %i.0, 1024 24 br i1 %cmp, label %for.body, label %for.end 25 26for.body: ; preds = %for.cond 27 br label %Stmt 28 29Stmt: 30 %idxprom = sext i32 %i.0 to i64 31 %arrayidx = getelementptr inbounds i32, i32* %A, i64 %idxprom 32 store i32 %i.0, i32* %arrayidx, align 4, !polly_split_after !0 33 br label %for.inc 34 35for.inc: ; preds = %Stmt 36 %add = add nsw i32 %i.0, 1 37 br label %for.cond 38 39for.end: ; preds = %for.cond 40 ret void 41} 42 43!0 = !{!"polly_split_after"} 44