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