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