projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0bc65
)
verify i128 return on x86-64 continues to codegen optimally.
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Feb 2007 06:06:49 +0000
(06:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Feb 2007 06:06:49 +0000
(06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34575
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/i128-ret.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/i128-ret.ll
b/test/CodeGen/X86/i128-ret.ll
new file mode 100644
(file)
index 0000000..
50c4e0f
--- /dev/null
+++ b/
test/CodeGen/X86/i128-ret.ll
@@ -0,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
+}
+