Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc | grep movswl |
2 | |||||
3 | target datalayout = "e-p:64:64" | ||||
4 | target triple = "x86_64-apple-darwin8" | ||||
5 | |||||
6 | |||||
7 | define void @bar(i16 zext %A) { | ||||
8 | tail call void @foo( i16 %A sext ) | ||||
9 | ret void | ||||
10 | } | ||||
11 | declare void @foo(i16 sext ) | ||||
12 |