brintos

brintos / llvm-project-archived public Read only

0
0
Text · 379 B · 12cde0d Raw
18 lines · plain
1; RUN: llc -mtriple=x86_64-apple-darwin %s -o - | FileCheck %s2; RUN: llc -mtriple=x86_64-apple-darwin %s -o - -fast-isel | FileCheck %s3 4define ptr @argument(ptr swiftasync %in) {5; CHECK-LABEL: argument:6; CHECK: movq %r14, %rax7 8  ret ptr %in9}10 11define void @call(ptr %in) {12; CHECK-LABEL: call:13; CHECK: movq %rdi, %r1414 15  call ptr @argument(ptr swiftasync %in)16  ret void17}18