blob: 369527fd29cfc3e4808980373f472aedbbef03ce [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | llc | grep movswl
2
3target datalayout = "e-p:64:64"
4target triple = "x86_64-apple-darwin8"
5
6
Reid Spencerf234bed2007-07-19 23:13:04 +00007define void @bar(i16 zeroext %A) {
8 tail call void @foo( i16 %A signext )
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009 ret void
10}
Reid Spencerf234bed2007-07-19 23:13:04 +000011declare void @foo(i16 signext )
Dan Gohmanf17a25c2007-07-18 16:29:46 +000012