aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/i128-ret.ll
blob: 1d76471225e21186df0de605441c3feb7b26af38 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
; CHECK: movq ([[A0:%rdi|%rcx]]), %rax
; CHECK: movq 8([[A0]]), %rdx

define i128 @test(i128 *%P) {
        %A = load i128, i128* %P
        ret i128 %A
}