mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
13 lines
240 B
LLVM
13 lines
240 B
LLVM
|
; RUN: llvm-as < %s | llc | grep movswl
|
||
|
|
||
|
target datalayout = "e-p:64:64"
|
||
|
target triple = "x86_64-apple-darwin8"
|
||
|
|
||
|
|
||
|
define void @bar(i16 zext %A) {
|
||
|
tail call void @foo( i16 %A sext )
|
||
|
ret void
|
||
|
}
|
||
|
declare void @foo(i16 sext )
|
||
|
|