mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
8 lines
120 B
LLVM
8 lines
120 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
|
||
|
long %test(long %A) {
|
||
|
%B = cast long %A to sbyte
|
||
|
%C = cast sbyte %B to long
|
||
|
ret long %C
|
||
|
}
|