1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
3 %struct.shape_edge_t = type { ptr, ptr, i32, i32, i32, i32 }
4 %struct.shape_path_t = type { ptr, ptr, i32, i32, i32, i32, i32, i32 }
5 %struct.shape_pool_t = type { ptr, ptr, ptr }
7 define ptr @shape_path_alloc(ptr %pool, ptr %shape) {
9 br i1 false, label %cond_false, label %bb45
11 bb45: ; preds = %entry
14 cond_false: ; preds = %entry
15 br i1 false, label %bb140, label %bb174
17 bb140: ; preds = %bb140, %cond_false
18 %indvar = phi i32 [ 0, %cond_false ], [ %indvar.next, %bb140 ] ; <i32> [#uses=2]
19 %edge.230.0.rec = shl i32 %indvar, 1 ; <i32> [#uses=3]
20 %edge.230.0 = getelementptr %struct.shape_edge_t, ptr null, i32 %edge.230.0.rec ; <ptr> [#uses=1]
21 %edge.230.0.sum6970 = or i32 %edge.230.0.rec, 1 ; <i32> [#uses=2]
22 %tmp154 = getelementptr %struct.shape_edge_t, ptr null, i32 %edge.230.0.sum6970 ; <ptr> [#uses=1]
23 %tmp11.i5 = getelementptr %struct.shape_edge_t, ptr null, i32 %edge.230.0.sum6970, i32 0 ; <ptr> [#uses=1]
24 store ptr %edge.230.0, ptr %tmp11.i5
25 store ptr %tmp154, ptr null
26 %tmp16254.0.rec = add i32 %edge.230.0.rec, 2 ; <i32> [#uses=1]
27 %xp.350.sum = add i32 0, %tmp16254.0.rec ; <i32> [#uses=1]
28 %tmp168 = icmp slt i32 %xp.350.sum, 0 ; <i1> [#uses=1]
29 %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=1]
30 br i1 %tmp168, label %bb140, label %bb174
32 bb174: ; preds = %bb140, %cond_false
36 ; CHECK-NOT: str{{.*}}!