mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
d05b67dc64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32133 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
349 B
LLVM
16 lines
349 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as -o - | llc
|
|
|
|
; This caused the backend to assert out with:
|
|
; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
|
|
;
|
|
implementation
|
|
|
|
declare void "bar"(sbyte* %G)
|
|
|
|
void "foo"()
|
|
begin
|
|
%cast225 = cast ulong 123456 to sbyte* ; <sbyte*> [#uses=1]
|
|
call void %bar( sbyte* %cast225)
|
|
ret void
|
|
end
|