blob: f775c6123af2eb34360e0aadf4ceed0413b9ed85 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=local
Jakob Stoklund Olesen76b4d5a2010-05-11 23:24:45 +00002; RUN: llc < %s -mtriple=arm-linux-gnueabi -regalloc=fast
Evan Chengb745e882008-02-06 22:07:17 +00003; PR1925
Evan Cheng2fc628d2008-02-06 19:16:53 +00004
5 %struct.encode_aux_nearestmatch = type { i32*, i32*, i32*, i32*, i32, i32 }
6 %struct.encode_aux_pigeonhole = type { float, float, i32, i32, i32*, i32, i32*, i32*, i32* }
7 %struct.encode_aux_threshmatch = type { float*, i32*, i32, i32 }
8 %struct.oggpack_buffer = type { i32, i32, i8*, i8*, i32 }
9 %struct.static_codebook = type { i32, i32, i32*, i32, i32, i32, i32, i32, i32*, %struct.encode_aux_nearestmatch*, %struct.encode_aux_threshmatch*, %struct.encode_aux_pigeonhole*, i32 }
10
11define i32 @vorbis_staticbook_pack(%struct.static_codebook* %c, %struct.oggpack_buffer* %opb) {
12entry:
13 %opb_addr = alloca %struct.oggpack_buffer* ; <%struct.oggpack_buffer**> [#uses=1]
14 %tmp1 = load %struct.oggpack_buffer** %opb_addr, align 4 ; <%struct.oggpack_buffer*> [#uses=1]
15 call void @oggpack_write( %struct.oggpack_buffer* %tmp1, i32 5653314, i32 24 ) nounwind
16 call void @oggpack_write( %struct.oggpack_buffer* null, i32 0, i32 24 ) nounwind
17 unreachable
18}
19
20declare void @oggpack_write(%struct.oggpack_buffer*, i32, i32)