2013-05-01 13:34:30 +08:00
|
|
|
; RUN: llc < %s | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: movswl
|
2007-02-26 07:08:29 +08:00
|
|
|
|
|
|
|
target datalayout = "e-p:64:64"
|
|
|
|
target triple = "x86_64-apple-darwin8"
|
|
|
|
|
|
|
|
|
2007-07-20 07:13:04 +08:00
|
|
|
define void @bar(i16 zeroext %A) {
|
2011-06-17 11:14:27 +08:00
|
|
|
tail call void @foo( i16 signext %A )
|
2007-02-26 07:08:29 +08:00
|
|
|
ret void
|
|
|
|
}
|
2007-07-20 07:13:04 +08:00
|
|
|
declare void @foo(i16 signext )
|
2007-02-26 07:08:29 +08:00
|
|
|
|