blob: c0668a9dbd5c3f39f2e0854dc870a734253bc020 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2
3 %struct.expr = type { %struct.rtx_def*, int, %struct.expr*, %struct.occr*, %struct.occr*, %struct.rtx_def* }
4 %struct.hash_table = type { %struct.expr**, uint, uint, int }
5 %struct.occr = type { %struct.occr*, %struct.rtx_def*, sbyte, sbyte }
6 %struct.rtx_def = type { ushort, ubyte, ubyte, %struct.u }
7 %struct.u = type { [1 x long] }
8
9void %test() {
10 %tmp = load uint* null ; <uint> [#uses=1]
11 %tmp8 = call uint %hash_rtx( ) ; <uint> [#uses=1]
12 %tmp11 = rem uint %tmp8, %tmp ; <uint> [#uses=1]
13 br bool false, label %cond_next, label %return
14
15cond_next: ; preds = %entry
16 %tmp17 = getelementptr %struct.expr** null, uint %tmp11 ; <%struct.expr**> [#uses=0]
17 ret void
18
19return: ; preds = %entry
20 ret void
21}
22
23declare uint %hash_rtx()