mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
a3cf7e7a95
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34052 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
466 B
LLVM
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
|
|
}
|