mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
df6b57ad48
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34614 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
270 B
LLVM
14 lines
270 B
LLVM
; RUN: llvm-as < %s | llc | grep movswl
|
|
|
|
target datalayout = "e-p:64:64"
|
|
target triple = "x86_64-apple-darwin8"
|
|
|
|
implementation ; Functions:
|
|
|
|
define void @bar(i16 zext %A) {
|
|
tail call void @foo( i16 %A sext )
|
|
ret void
|
|
}
|
|
declare void @foo(i16 sext )
|
|
|