1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/Assembler/2007-02-07-UpgradeGVarConflict.ll
Reid Spencer e1224638a2 New test cases for PR1187
llvm-svn: 34052
2007-02-08 09:10:22 +00:00

20 lines
466 B
LLVM

; For PR1187
; RUN: llvm-upgrade < %s > /dev/null
%struct.isc_hash_t = type { uint, sbyte*, int, uint, uint,
[4 x ubyte], ulong, ushort* }
%hash = internal global %struct.isc_hash_t* null
implementation
void %somefunc() {
%key_addr = alloca sbyte*
%tmp21 = load sbyte** %key_addr
%tmp22 = call fastcc uint %hash(sbyte* %tmp21, uint 0)
ret void
}
internal fastcc uint %hash(sbyte* %key, uint %case_sensitive) {
ret uint 0
}