llvm.org GIT mirror llvm / 2d4a5ab
remove xfailed testcase (attached to pr) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36797 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 0 addition(s) and 77 deletion(s). Raw diff Collapse all Expand all
+0
-77
test/CodeGen/ARM/2007-03-15-GEP-Idx-Sink.ll less more
None ; RUN: llvm-as < %s | llc -march=thumb
1 ; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-apple-darwin8 -stats |& \
2 ; RUN: not grep {register spills}
3
4 ;; Must talk to evan about this.
5 ; XFAIL: *
6
7 define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) {
8 entry:
9 icmp sgt i32 %size, 0 ; :0 [#uses=1]
10 br i1 %0, label %bb.preheader, label %return
11
12 bb.preheader: ; preds = %entry
13 %tmp5.sum72 = add i32 %col, 7 ; [#uses=1]
14 %tmp5.sum71 = add i32 %col, 5 ; [#uses=1]
15 %tmp5.sum70 = add i32 %col, 3 ; [#uses=1]
16 %tmp5.sum69 = add i32 %col, 2 ; [#uses=1]
17 %tmp5.sum68 = add i32 %col, 1 ; [#uses=1]
18 %tmp5.sum66 = add i32 %col, 4 ; [#uses=1]
19 %tmp5.sum = add i32 %col, 6 ; [#uses=1]
20 br label %bb
21
22 bb: ; preds = %bb, %bb.preheader
23 %i.073.0 = phi i32 [ 0, %bb.preheader ], [ %indvar.next, %bb ] ; [#uses=3]
24 %p_addr.076.0.rec = mul i32 %i.073.0, 9 ; [#uses=9]
25 %p_addr.076.0 = getelementptr i8* %p, i32 %p_addr.076.0.rec ; [#uses=1]
26 %tmp2 = getelementptr i8** %buf, i32 %i.073.0 ; [#uses=1]
27 %tmp3 = load i8** %tmp2 ; [#uses=8]
28 %tmp5 = getelementptr i8* %tmp3, i32 %col ; [#uses=1]
29 %tmp7 = load i8* %p_addr.076.0 ; [#uses=1]
30 store i8 %tmp7, i8* %tmp5
31 %p_addr.076.0.sum93 = add i32 %p_addr.076.0.rec, 1 ; [#uses=1]
32 %tmp11 = getelementptr i8* %p, i32 %p_addr.076.0.sum93 ; [#uses=1]
33 %tmp13 = load i8* %tmp11 ; [#uses=1]
34 %tmp15 = getelementptr i8* %tmp3, i32 %tmp5.sum72 ; [#uses=1]
35 store i8 %tmp13, i8* %tmp15
36 %p_addr.076.0.sum92 = add i32 %p_addr.076.0.rec, 2 ; [#uses=1]
37 %tmp17 = getelementptr i8* %p, i32 %p_addr.076.0.sum92 ; [#uses=1]
38 %tmp19 = load i8* %tmp17 ; [#uses=1]
39 %tmp21 = getelementptr i8* %tmp3, i32 %tmp5.sum71 ; [#uses=1]
40 store i8 %tmp19, i8* %tmp21
41 %p_addr.076.0.sum91 = add i32 %p_addr.076.0.rec, 3 ; [#uses=1]
42 %tmp23 = getelementptr i8* %p, i32 %p_addr.076.0.sum91 ; [#uses=1]
43 %tmp25 = load i8* %tmp23 ; [#uses=1]
44 %tmp27 = getelementptr i8* %tmp3, i32 %tmp5.sum70 ; [#uses=1]
45 store i8 %tmp25, i8* %tmp27
46 %p_addr.076.0.sum90 = add i32 %p_addr.076.0.rec, 4 ; [#uses=1]
47 %tmp29 = getelementptr i8* %p, i32 %p_addr.076.0.sum90 ; [#uses=1]
48 %tmp31 = load i8* %tmp29 ; [#uses=1]
49 %tmp33 = getelementptr i8* %tmp3, i32 %tmp5.sum69 ; [#uses=2]
50 store i8 %tmp31, i8* %tmp33
51 %p_addr.076.0.sum89 = add i32 %p_addr.076.0.rec, 5 ; [#uses=1]
52 %tmp35 = getelementptr i8* %p, i32 %p_addr.076.0.sum89 ; [#uses=1]
53 %tmp37 = load i8* %tmp35 ; [#uses=1]
54 %tmp39 = getelementptr i8* %tmp3, i32 %tmp5.sum68 ; [#uses=1]
55 store i8 %tmp37, i8* %tmp39
56 %p_addr.076.0.sum88 = add i32 %p_addr.076.0.rec, 6 ; [#uses=1]
57 %tmp41 = getelementptr i8* %p, i32 %p_addr.076.0.sum88 ; [#uses=1]
58 %tmp43 = load i8* %tmp41 ; [#uses=1]
59 store i8 %tmp43, i8* %tmp33
60 %p_addr.076.0.sum87 = add i32 %p_addr.076.0.rec, 7 ; [#uses=1]
61 %tmp47 = getelementptr i8* %p, i32 %p_addr.076.0.sum87 ; [#uses=1]
62 %tmp49 = load i8* %tmp47 ; [#uses=1]
63 %tmp51 = getelementptr i8* %tmp3, i32 %tmp5.sum66 ; [#uses=1]
64 store i8 %tmp49, i8* %tmp51
65 %p_addr.076.0.sum = add i32 %p_addr.076.0.rec, 8 ; [#uses=1]
66 %tmp53 = getelementptr i8* %p, i32 %p_addr.076.0.sum ; [#uses=1]
67 %tmp55 = load i8* %tmp53 ; [#uses=1]
68 %tmp57 = getelementptr i8* %tmp3, i32 %tmp5.sum ; [#uses=1]
69 store i8 %tmp55, i8* %tmp57
70 %indvar.next = add i32 %i.073.0, 1 ; [#uses=2]
71 icmp eq i32 %indvar.next, %size ; :1 [#uses=1]
72 br i1 %1, label %return, label %bb
73
74 return: ; preds = %bb, %entry
75 ret void
76 }