Mercurial > hg > CbC > CbC_llvm
comparison polly/test/ScopInfo/unsigned_wrap_uge.ll @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | c4bab56944e8 |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
5 ; for (int i = -1; i < 65 ; i ++ ) | 5 ; for (int i = -1; i < 65 ; i ++ ) |
6 ; if ( 63 >= (unsigned)i ) | 6 ; if ( 63 >= (unsigned)i ) |
7 ; A[i] = 42; | 7 ; A[i] = 42; |
8 | 8 |
9 | 9 |
10 define void @func(double* noalias nonnull %A) { | 10 define void @func(ptr noalias nonnull %A) { |
11 entry: | 11 entry: |
12 br label %for | 12 br label %for |
13 | 13 |
14 for: | 14 for: |
15 %j = phi i32 [-1, %entry], [%j.inc, %inc] | 15 %j = phi i32 [-1, %entry], [%j.inc, %inc] |
19 body: | 19 body: |
20 %inbounds = icmp uge i32 63, %j | 20 %inbounds = icmp uge i32 63, %j |
21 br i1 %inbounds, label %ifinbounds, label %ifoutbounds | 21 br i1 %inbounds, label %ifinbounds, label %ifoutbounds |
22 | 22 |
23 ifinbounds: | 23 ifinbounds: |
24 %A_idx = getelementptr inbounds double, double* %A, i32 %j | 24 %A_idx = getelementptr inbounds double, ptr %A, i32 %j |
25 store double 42.0, double* %A_idx | 25 store double 42.0, ptr %A_idx |
26 br label %inc | 26 br label %inc |
27 | 27 |
28 ifoutbounds: | 28 ifoutbounds: |
29 br label %inc | 29 br label %inc |
30 | 30 |