1 ; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
3 ; Unsigned wrap-around check.
5 ; for (int i = -1; i < 65 ; i ++ )
6 ; if ( (unsigned)i <= 63 )
10 define void @func(ptr 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 ule i32 %j, 63
21 br i1 %inbounds, label %ifinbounds, label %ifoutbounds
24 %A_idx = getelementptr inbounds double, ptr %A, i32 %j
25 store double 42.0, ptr %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 };