llvm.org GIT mirror llvm / release_32 test / CodeGen / Generic / 2005-12-12-ExpandSextInreg.ll
release_32

Tree @release_32 (Download .tar.gz)

2005-12-12-ExpandSextInreg.ll @release_32raw · history · blame

1
2
3
4
5
6
7
; 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
}