aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/implicit-sret.ll
blob: 264d519f36f86e97532365a38b43375509bb6f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc %s -o - -mtriple=arm64-apple-ios7.0 | FileCheck %s
;
; Handle implicit sret arguments that are generated on-the-fly during lowering.
; <rdar://19792160> Null pointer assertion in AArch64TargetLowering

; CHECK-LABEL: big_retval
; ... str or stp for the first 1024 bits
; CHECK: strb wzr, [x8, #128]
; CHECK: ret
define i1032 @big_retval() {
entry:
  ret i1032 0
}