aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/sret-implicit.ll
blob: 568095254078818b4c16fd16f4551400ec5e048a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple=x86_64-apple-darwin8 < %s | FileCheck %s
; RUN: llc -mtriple=x86_64-pc-linux < %s | FileCheck %s
; RUN: llc -mtriple=x86_64-apple-darwin8 -terminal-rule < %s | FileCheck %s
; RUN: llc -mtriple=x86_64-pc-linux -terminal-rule < %s | FileCheck %s

; CHECK-LABEL: return32
; CHECK-DAG: movq	$0, (%rdi)
; CHECK-DAG: movq	%rdi, %rax
; CHECK: retq
define i256 @return32() {
  ret i256 0
}