1 ; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
3 ; CHECK: Assumed Context:
4 ; CHECK-NEXT: [dim] -> { : dim > 0 }
5 ; CHECK-NEXT: Invalid Context:
6 ; CHECK-NEXT: [dim] -> { : dim < 0 }
8 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
10 ; Function Attrs: nounwind uwtable
11 define void @horner_bezier_curve(ptr %cp, i32 %dim) #0 {
13 br label %for.body18.lr.ph
15 for.body18.lr.ph: ; preds = %entry
18 for.body18: ; preds = %for.body18, %for.body18.lr.ph
19 %cp.addr.052 = phi ptr [ %cp, %for.body18.lr.ph ], [ %add.ptr43, %for.body18 ]
20 %0 = load float, ptr %cp.addr.052, align 4
21 store float %0, ptr %cp.addr.052, align 4
22 %idx.ext42 = zext i32 %dim to i64
23 %add.ptr43 = getelementptr inbounds float, ptr %cp.addr.052, i64 %idx.ext42
24 br i1 false, label %for.body18, label %if.end
26 if.end: ; preds = %for.body18