67 lines · plain
1; RUN: opt %loadNPMPolly '-passes=polly-custom<scops>' -polly-print-detect -polly-print-scops -disable-output < %s 2>&1 | FileCheck %s -check-prefix=FUNC-SCOP2; RUN: opt %loadNPMPolly '-passes=polly-custom<deps>' -polly-print-detect -polly-print-deps -disable-output < %s 2>&1 | FileCheck %s -check-prefix=FUNC-DEPS3;4; FUNC-SCOP-NOT: Statement5; FUNC-DEPS-NOT: RAW dependences6;7; Due to an infeasible run-time check, scop object is empty and we do not compute dependences.8;9target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"10 11%struct.tnode.1.7.13.67.121.175.217.307.325.337.349.367.379.391.433.445.667.727.733.739 = type { i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr }12%struct.plist.0.6.12.66.120.174.216.306.324.336.348.366.378.390.432.444.666.726.732.738 = type { i32, ptr }13 14@vFixedEdgeRoot = external global ptr, align 815@hEdgeRoot = external global ptr, align 816 17; Function Attrs: nounwind uwtable18define void @readgeo() #0 {19entry:20 %vx = alloca i32, align 421 br label %if.end6422 23if.end64: ; preds = %entry24 br label %for.body7325 26for.body73: ; preds = %for.inc216, %if.end6427 %v.0101 = phi i32 [ 0, %for.inc216 ], [ 1, %if.end64 ]28 br i1 undef, label %if.then93, label %if.else29 30if.then93: ; preds = %for.body7331 br label %for.inc21632 33if.else: ; preds = %for.body7334 br i1 undef, label %if.then111, label %if.end11635 36if.then111: ; preds = %if.else37 br label %if.end11638 39if.end116: ; preds = %if.then111, %if.else40 %rippleCount.2 = phi i32 [ 1, %if.then111 ], [ undef, %if.else ]41 %rem11790 = and i32 %v.0101, 142 %cmp118 = icmp eq i32 %rem11790, 043 br i1 %cmp118, label %if.then120, label %if.else15444 45if.then120: ; preds = %if.end11646 call void @tinsert()47 br label %if.end19348 49if.else154: ; preds = %if.end11650 call void @tinsert()51 br label %if.end19352 53if.end193: ; preds = %if.else154, %if.then12054 %0 = load i32, ptr %vx, align 455 br label %for.inc21656 57for.inc216: ; preds = %if.end193, %if.then9358 %rippleCount.3 = phi i32 [ undef, %if.then93 ], [ %rippleCount.2, %if.end193 ]59 %ux.2 = phi i32 [ undef, %if.then93 ], [ %0, %if.end193 ]60 br i1 undef, label %for.body73, label %for.end21861 62for.end218: ; preds = %for.inc21663 unreachable64}65 66declare void @tinsert()67