summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/x86-64-shortint.ll
blob: 7f96543ba49d4031b534d9aea448f29aba71050a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s | grep movswl

target datalayout = "e-p:64:64"
target triple = "x86_64-apple-darwin8"


define void @bar(i16 zeroext  %A) {
        tail call void @foo( i16 %A signext  )
        ret void
}
declare void @foo(i16 signext )