1; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s 2; 3; Check that we do not build a SCoP and do not crash. 4; 5; CHECK-NOT: Statements 6; 7target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 8 9; Function Attrs: nounwind uwtable 10define void @int_upsample(i32* %A) { 11entry: 12 %0 = load i8, i8* undef, align 1 13 %conv7 = zext i8 %0 to i32 14 br label %while.body.preheader 15 16while.body.preheader: ; preds = %entry 17 br label %while.body 18 19while.body: ; preds = %if.end, %while.body.preheader 20 %outrow.036 = phi i32 [ %add23, %if.end ], [ 0, %while.body.preheader ] 21 br i1 true, label %if.end, label %while.body16 22 23while.body16: ; preds = %while.body16, %while.body 24 br label %while.body16.split 25 26while.body16.split: 27 br label %while.body16 28 29if.end: ; preds = %while.body 30 store i32 0, i32* %A 31 %add23 = add nuw nsw i32 %outrow.036, 1 32 %cmp = icmp slt i32 %add23, 0 33 br i1 %cmp, label %while.body, label %while.end24 34 35while.end24: ; preds = %if.end 36 ret void 37} 38