llvm-6502/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll
2006-12-02 04:23:10 +00:00

8 lines
135 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc
long %test(long %A) {
%B = cast long %A to sbyte
%C = cast sbyte %B to long
ret long %C
}