1 ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
2 target 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 define void @CleanNet() nounwind {
6 %firstVia.0.reg2mem = alloca i64
9 bb7: ; preds = %bb7, %entry
10 br i1 undef, label %bb7, label %bb8
13 %indvar5.lcssa.reload = load i64, ptr undef
14 %tmp17 = mul i64 %indvar5.lcssa.reload, -1
15 %tmp18 = add i64 0, %tmp17
19 %0 = icmp ult i64 %i.1, 0
20 br i1 %0, label %bb14, label %bb17
23 store i64 %i.1, ptr %firstVia.0.reg2mem
26 bb17: ; preds = %bb14, %bb13
27 %indvar.next16 = add i64 %indvar15, 1
30 bb18: ; preds = %bb17, %bb8
31 %indvar15 = phi i64 [ %indvar.next16, %bb17 ], [ 0, %bb8 ]
32 %i.1 = add i64 %tmp18, %indvar15
33 br i1 undef, label %bb13, label %bb25