mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
5373b721c0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8
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 )
|
|
|