[llvm-commits] CVS: llvm/test/CodeGen/X86/i128-ret.ll
Chris Lattner
sabre at nondot.org
Sat Feb 24 22:07:06 PST 2007
Changes in directory llvm/test/CodeGen/X86:
i128-ret.ll added (r1.1)
---
Log message:
verify i128 return on x86-64 continues to codegen optimally.
---
Diffs of the changes: (+8 -0)
i128-ret.ll | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/CodeGen/X86/i128-ret.ll
diff -c /dev/null llvm/test/CodeGen/X86/i128-ret.ll:1.1
*** /dev/null Sun Feb 25 00:06:59 2007
--- llvm/test/CodeGen/X86/i128-ret.ll Sun Feb 25 00:06:49 2007
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq 8(%rdi), %rdx' &&
+ ; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq (%rdi), %rax'
+
+ define i128 @test(i128 *%P) {
+ %A = load i128* %P
+ ret i128 %A
+ }
+
More information about the llvm-commits
mailing list