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

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