[llvm-commits] CVS: llvm/test/CodeGen/X86/x86-64-shortint.ll
Chris Lattner
sabre at nondot.org
Sun Feb 25 15:08:46 PST 2007
Changes in directory llvm/test/CodeGen/X86:
x86-64-shortint.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+13 -0)
x86-64-shortint.ll | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/CodeGen/X86/x86-64-shortint.ll
diff -c /dev/null llvm/test/CodeGen/X86/x86-64-shortint.ll:1.1
*** /dev/null Sun Feb 25 17:08:39 2007
--- llvm/test/CodeGen/X86/x86-64-shortint.ll Sun Feb 25 17:08:29 2007
***************
*** 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 )
+
More information about the llvm-commits
mailing list