Reid Spencer | 69ccadd | 2006-12-02 04:23:10 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 |
Evan Cheng | b8f9723 | 2006-08-17 00:00:46 +0000 | [diff] [blame] | 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 | |
| 9 | void %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 | |
| 15 | cond_next: ; preds = %entry |
| 16 | %tmp17 = getelementptr %struct.expr** null, uint %tmp11 ; <%struct.expr**> [#uses=0] |
| 17 | ret void |
| 18 | |
| 19 | return: ; preds = %entry |
| 20 | ret void |
| 21 | } |
| 22 | |
| 23 | declare uint %hash_rtx() |