verify i128 return on x86-64 continues to codegen optimally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-02-25 06:06:49 +00:00
parent 9f0bc659c8
commit 4283c118cf

View File

@ -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
}