llvm-project
29 строк · 1.1 Кб
1; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
2
3target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
4
5define void @main() nounwind {
6.split:
7br label %0
8
9.loopexit: ; preds = %.lr.ph, %0
10%indvar.next16 = add i64 %indvar15, 1
11%exitcond53 = icmp eq i64 %indvar.next16, 2048
12br i1 %exitcond53, label %1, label %0
13
14; <label>:0 ; preds = %.loopexit, %.split
15%indvar15 = phi i64 [ 0, %.split ], [ %indvar.next16, %.loopexit ]
16%tmp59 = sub i64 2046, %indvar15
17%tmp38 = and i64 %tmp59, 4294967295
18%tmp39 = add i64 %tmp38, 1
19br i1 false, label %.lr.ph, label %.loopexit
20
21.lr.ph: ; preds = %.lr.ph, %0
22%indvar33 = phi i64 [ %indvar.next34, %.lr.ph ], [ 0, %0 ]
23%indvar.next34 = add i64 %indvar33, 1
24%exitcond40 = icmp eq i64 %indvar.next34, %tmp39
25br i1 %exitcond40, label %.loopexit, label %.lr.ph
26
27; <label>:1 ; preds = %.loopexit
28ret void
29}
30