Merging r258471:
[oota-llvm.git] / test / CodeGen / AArch64 / implicit-sret.ll
1 ; RUN: llc %s -o - -mtriple=arm64-apple-ios7.0 | FileCheck %s
2 ;
3 ; Handle implicit sret arguments that are generated on-the-fly during lowering.
4 ; <rdar://19792160> Null pointer assertion in AArch64TargetLowering
5
6 ; CHECK-LABEL: big_retval
7 ; ... str or stp for the first 1024 bits
8 ; CHECK: strb wzr, [x8, #128]
9 ; CHECK: ret
10 define i1032 @big_retval() {
11 entry:
12   ret i1032 0
13 }