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