blob: 5ce1de642583d1b48c948022904b76524f728eb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: llc -mtriple=arm64-apple-ios %s -o - | FileCheck %s
; RUN: llc -mtriple=arm64-apple-ios %s -o - -global-isel | FileCheck %s
; RUN: llc -mtriple=arm64-apple-ios %s -o - -fast-isel | FileCheck %s
define ptr @argument(ptr swiftasync %in) {
; CHECK-LABEL: argument:
; CHECK: mov x0, x22
ret ptr %in
}
define void @call(ptr %in) {
; CHECK-LABEL: call:
; CHECK: mov x22, x0
call ptr @argument(ptr swiftasync %in)
ret void
}
|