[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / polly / test / ScopInfo / stmt_split_no_after_split.ll
blobf8339bd8ae946dcbf9c5079c3785c8fdd493f905
1 ; RUN: opt %loadPolly -polly-print-instructions -polly-print-scops -disable-output < %s | FileCheck %s
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, ptr %arrayidx, align 4, !polly_split_after !0
13 ; CHECK-NEXT:       }
14 ; CHECK-NEXT:   }
16 ; Function Attrs: noinline nounwind uwtable
17 define void @func(ptr %A) #0 {
18 entry:
19   br label %for.cond
21 for.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
26 for.body:                                         ; preds = %for.cond
27   br label %Stmt
29 Stmt:
30   %idxprom = sext i32 %i.0 to i64
31   %arrayidx = getelementptr inbounds i32, ptr %A, i64 %idxprom
32   store i32 %i.0, ptr %arrayidx, align 4, !polly_split_after !0
33   br label %for.inc
35 for.inc:                                          ; preds = %Stmt
36   %add = add nsw i32 %i.0, 1
37   br label %for.cond
39 for.end:                                          ; preds = %for.cond
40   ret void
43 !0 = !{!"polly_split_after"}