diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-02-25 23:08:29 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-02-25 23:08:29 +0000 |
| commit | c864f6a786ccfa5ed8da6807609c6ff8eae4a598 (patch) | |
| tree | e40ecce04e6d37f70c6fbeae6b07dfe964a42385 | |
| parent | 3e0703357f7bed7607ff941e0d211ed710194386 (diff) | |
| download | bcm5719-llvm-c864f6a786ccfa5ed8da6807609c6ff8eae4a598.tar.gz bcm5719-llvm-c864f6a786ccfa5ed8da6807609c6ff8eae4a598.zip | |
new testcase
llvm-svn: 34614
| -rw-r--r-- | llvm/test/CodeGen/X86/x86-64-shortint.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/x86-64-shortint.ll b/llvm/test/CodeGen/X86/x86-64-shortint.ll new file mode 100644 index 00000000000..30c750e3794 --- /dev/null +++ b/llvm/test/CodeGen/X86/x86-64-shortint.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | llc | grep movswl + +target datalayout = "e-p:64:64" +target triple = "x86_64-apple-darwin8" + +implementation ; Functions: + +define void @bar(i16 zext %A) { + tail call void @foo( i16 %A sext ) + ret void +} +declare void @foo(i16 sext ) + |

