llvm.org GIT mirror llvm / release_16 test / CodeGen / Generic / 2002-04-14-UnexpectedUnsignedType.ll
release_16

Tree @release_16 (Download .tar.gz)

2002-04-14-UnexpectedUnsignedType.ll @release_16raw · history · blame

; 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