2008-02-19 01:41:04 +00:00
|
|
|
; RUN: llvm-as < %s | llc
|
2005-12-12 22:27:22 +00:00
|
|
|
|
2008-02-19 01:41:04 +00:00
|
|
|
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
|
2005-12-12 22:27:22 +00:00
|
|
|
}
|