summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/x86-64-shortint.ll
blob: 30c750e3794b03d63d2c7f6ac390113bca654ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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 )