Revert r237175: [X86] Always return the sret parameter in eax/rax ...
[oota-llvm.git] / test / CodeGen / X86 / sret-implicit.ll
1 ; RUN: llc -mtriple=x86_64-apple-darwin8 < %s | FileCheck %s
2 ; RUN: llc -mtriple=x86_64-pc-linux < %s | FileCheck %s
3 ; RUN: llc -mtriple=x86_64-apple-darwin8 -terminal-rule < %s | FileCheck %s
4 ; RUN: llc -mtriple=x86_64-pc-linux -terminal-rule < %s | FileCheck %s
5
6 ; CHECK-LABEL: return32
7 ; CHECK-DAG: movq       $0, (%rdi)
8 ; CHECK-DAG: movq       %rdi, %rax
9 ; CHECK: retq
10 define i256 @return32() {
11   ret i256 0
12 }