mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
9ed0a1b065
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180837 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
258 B
LLVM
15 lines
258 B
LLVM
; RUN: llc < %s | FileCheck %s
|
|
|
|
; CHECK: movswl
|
|
|
|
target datalayout = "e-p:64:64"
|
|
target triple = "x86_64-apple-darwin8"
|
|
|
|
|
|
define void @bar(i16 zeroext %A) {
|
|
tail call void @foo( i16 signext %A )
|
|
ret void
|
|
}
|
|
declare void @foo(i16 signext )
|
|
|