mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Checkin first unit testcases for the backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
13
test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
Normal file
13
test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; 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
|
Reference in New Issue
Block a user