Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks

llvm-svn: 26139
This commit is contained in:
Chris Lattner 2006-02-13 07:02:50 +00:00
parent 68e7475777
commit 4c388281c1
1 changed files with 8 additions and 12 deletions

View File

@ -1,14 +1,16 @@
; RUN: llvm-as < %s | llc ; RUN: llvm-as < %s | llc
%G = external global int
%typedef.InputParameters = type { int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, [8 x [2 x int]], [8 x [2 x int]], int, int, int, int, [200 x sbyte], [200 x sbyte], [200 x sbyte], [200 x sbyte], [200 x sbyte], int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, [1024 x sbyte], int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, double, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, [200 x sbyte], [200 x sbyte], int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, [200 x sbyte], int, int, int*, int*, ubyte*, int*, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, [8 x int], int, int, int, int, int, int, int, int, int, int, int, [6 x double], [200 x sbyte], int, int, int, int, [2 x [5 x int]], int, int, int, int } void %encode_one_frame(long %tmp.2i) {
%inputs = external global %typedef.InputParameters ; <%typedef.InputParameters*> [#uses=1]
void %encode_one_frame() {
entry: entry:
%tmp.9 = seteq int 0, 0 ; <bool> [#uses=1] %tmp.9 = seteq int 0, 0 ; <bool> [#uses=1]
br bool %tmp.9, label %endif.0, label %shortcirc_next.0 br bool %tmp.9, label %endif.0, label %shortcirc_next.0
then.5.i: ; preds = %shortcirc_next.i
%tmp.114.i = div long %tmp.2i, 3 ; <long> [#uses=1]
%tmp.111.i = call long %lseek( int 0, long %tmp.114.i, int 1 ) ; <long> [#uses=0]
ret void
shortcirc_next.0: ; preds = %entry shortcirc_next.0: ; preds = %entry
ret void ret void
@ -40,8 +42,7 @@ then.1.i52: ; preds = %then.0.i40
ret void ret void
else.1.i56: ; preds = %then.0.i40 else.1.i56: ; preds = %then.0.i40
%tmp.25.i = cast int 0 to long ; <long> [#uses=1] %tmp.28.i = load int* %G
%tmp.28.i = load int* getelementptr (%typedef.InputParameters* %inputs, int 0, uint 152) ; <int> [#uses=1]
%tmp.29.i = seteq int %tmp.28.i, 1 ; <bool> [#uses=1] %tmp.29.i = seteq int %tmp.28.i, 1 ; <bool> [#uses=1]
br bool %tmp.29.i, label %shortcirc_next.i, label %shortcirc_done.i br bool %tmp.29.i, label %shortcirc_next.i, label %shortcirc_done.i
@ -52,11 +53,6 @@ shortcirc_next.i: ; preds = %else.1.i56
shortcirc_done.i: ; preds = %else.1.i56 shortcirc_done.i: ; preds = %else.1.i56
ret void ret void
then.5.i: ; preds = %shortcirc_next.i
%tmp.114.i = div long %tmp.25.i, 3 ; <long> [#uses=1]
%tmp.111.i = call long %lseek( int 0, long %tmp.114.i, int 1 ) ; <long> [#uses=0]
ret void
endif.5.i: ; preds = %shortcirc_next.i endif.5.i: ; preds = %shortcirc_next.i
ret void ret void
} }