mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
334 B
LLVM
16 lines
334 B
LLVM
; RUN: llvm-as -f %s -o - | llc
|
|
|
|
; This causes 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
|