Reid Spencer | a3cf7e7 | 2007-02-08 09:10:22 +0000 | [diff] [blame] | 1 | ; For PR1187 |
| 2 | ; RUN: llvm-upgrade < %s > /dev/null |
| 3 | |
| 4 | %struct.isc_hash_t = type { uint, sbyte*, int, uint, uint, |
| 5 | [4 x ubyte], ulong, ushort* } |
| 6 | %hash = internal global %struct.isc_hash_t* null |
| 7 | |
| 8 | implementation |
| 9 | |
| 10 | void %somefunc() { |
| 11 | %key_addr = alloca sbyte* |
| 12 | %tmp21 = load sbyte** %key_addr |
| 13 | %tmp22 = call fastcc uint %hash(sbyte* %tmp21, uint 0) |
| 14 | ret void |
| 15 | } |
| 16 | |
| 17 | internal fastcc uint %hash(sbyte* %key, uint %case_sensitive) { |
| 18 | ret uint 0 |
| 19 | } |