blob: 06e9525ee90e61cc2afb6b73ed1f12e10aa6f4aa [file] [log] [blame]
Reid Spencera3cf7e72007-02-08 09:10:22 +00001; 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
8implementation
9
10void %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
17internal fastcc uint %hash(sbyte* %key, uint %case_sensitive) {
18 ret uint 0
19}