1 ; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
3 ; Unsigned wrap-around check.
5 ; for (int i = -1; i < 65 ; i ++ )
6 ; if ( 64 > (unsigned)i )
10 define void @func(double* noalias nonnull %A) {
15 %j = phi i32 [-1, %entry], [%j.inc, %inc]
16 %j.cmp = icmp slt i32 %j, 65
17 br i1 %j.cmp, label %body, label %exit
20 %inbounds = icmp ugt i32 64, %j
21 br i1 %inbounds, label %ifinbounds, label %ifoutbounds
24 %A_idx = getelementptr inbounds double, double* %A, i32 %j
25 store double 42.0, double* %A_idx
32 %j.inc = add nuw nsw i32 %j, 1
43 ; CHECK: Region: %for---%return
45 ; CHECK-NEXT: { Stmt_ifinbounds[i0] : 0 < i0 <= 64 };