1; RUN: opt %loadPolly -polly-process-unprofitable -polly-scops -analyze < %s | FileCheck %s 2 3target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" 4 5; CHECK: Region: %for.cond62---%for.cond 6; CHECK: p0: {0,+,1}<nuw><%for.cond> 7; CHECK-NEXT: p1: %param1 8; CHECK-NEXT: p2: %param2 9; CHECK-NEXT: Arrays { 10 11define void @f(i8* %param1) { 12entry: 13 br label %for.cond 14 15for.cond: 16 %hook = phi i8* [ %param1, %entry ], [ %add.ptr201, %cleanup ] 17 br i1 undef, label %for.body, label %for.cond.cleanup 18 19for.body: 20 %param2 = call i32 @g() 21 %add.ptr60 = getelementptr inbounds i8, i8* %hook, i32 %param2 22 br label %for.cond62 23 24for.cond62: 25 %cmp64 = icmp ule i8* %add.ptr60, null 26 br i1 %cmp64, label %for.cond62, label %cleanup 27 28cleanup: 29 %add.ptr201 = getelementptr inbounds i8, i8* %hook, i32 1 30 br label %for.cond 31 32for.cond.cleanup: 33 ret void 34} 35 36declare i32 @g() 37