mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
8
test/CodeGen/X86/i128-ret.ll
Normal file
8
test/CodeGen/X86/i128-ret.ll
Normal 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user