llvm-project/llvm/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll

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
}