brintos

brintos / llvm-project-archived public Read only

0
0
Text · 435 B · 5ce1de6 Raw
19 lines · plain
1; RUN: llc -mtriple=arm64-apple-ios %s -o - | FileCheck %s2; RUN: llc -mtriple=arm64-apple-ios %s -o - -global-isel | FileCheck %s3; RUN: llc -mtriple=arm64-apple-ios %s -o - -fast-isel | FileCheck %s4 5define ptr @argument(ptr swiftasync %in) {6; CHECK-LABEL: argument:7; CHECK: mov x0, x228 9  ret ptr %in10}11 12define void @call(ptr %in) {13; CHECK-LABEL: call:14; CHECK: mov x22, x015 16  call ptr @argument(ptr swiftasync %in)17  ret void18}19