mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
53a66d10f0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
190 B
LLVM
8 lines
190 B
LLVM
; RUN: llvm-as < %s | llc
|
|
|
|
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
|
|
}
|