64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
8 lines
180 B
LLVM
8 lines
180 B
LLVM
; 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
|
|
}
|