1 ; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
2 target datalayout = "e-m:e-i64:64-i128:128-n8:16:32:64-S128"
3 target triple = "aarch64--linux-android"
6 ; CHECK: Stmt_for_body8_us_us95_i
7 ; CHECK-NEXT: Domain :=
8 ; CHECK-NEXT: [p_0] -> { Stmt_for_body8_us_us95_i[i0] : 0 <= i0 <= 4 };
9 ; CHECK-NEXT: Schedule :=
10 ; CHECK-NEXT: [p_0] -> { Stmt_for_body8_us_us95_i[i0] -> [i0] };
11 ; CHECK-NEXT: MustWriteAccess := [Reduction Type: NONE] [Scalar: 0]
12 ; CHECK-NEXT: [p_0] -> { Stmt_for_body8_us_us95_i[i0] -> MemRef0[1 - p_0] };
15 define void @test1() unnamed_addr align 2 {
17 %xFactor.0.reload = load i32, ptr undef
18 %0 = load ptr, ptr undef, align 8
19 %div = udiv i32 0, %xFactor.0.reload
20 %1 = load i32, ptr undef, align 4
21 %mul = mul i32 %1, %xFactor.0.reload
22 %col.023.us.us85.i = add i32 %div, -1
23 %mul11.us.us93.i = mul i32 %col.023.us.us85.i, %mul
24 br label %for.body8.us.us95.i
27 %niter.i = phi i32 [ %niter.i.next, %for.body8.us.us95.i ], [ 0, %entry ]
28 %add12.us.us100.1.i = add i32 1, %mul11.us.us93.i
29 %idxprom13.us.us101.1.i = zext i32 %add12.us.us100.1.i to i64
30 %arrayidx14.us.us102.1.i = getelementptr inbounds i8, ptr %0, i64 %idxprom13.us.us101.1.i
31 store i8 0, ptr %arrayidx14.us.us102.1.i, align 1
32 %niter.ncmp.3.i = icmp eq i32 %niter.i, 4
33 %niter.i.next = add i32 %niter.i, 1
34 br i1 %niter.ncmp.3.i, label %for.body8.us.us95.epil.i.preheader, label %for.body8.us.us95.i
36 for.body8.us.us95.epil.i.preheader: