llvm-6502/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
Tanya Lattner 2393a24fed Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:08:26 +00:00

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