1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll

8 lines
180 B
LLVM
Raw Normal View History

; RUN: llc < %s
define i64 @test(i64 %A) {
%B = trunc i64 %A to i8 ; <i8> [#uses=1]
%C = sext i8 %B to i64 ; <i64> [#uses=1]
ret i64 %C
}