xref: /llvm-project/llvm/test/CodeGen/AArch64/swiftcc.ll (revision f1c28929125400a1680868f7c6eea720de256779)
1; RUN: llc -verify-machineinstrs -mtriple=aarch64-apple-ios -o - %s | FileCheck %s
2; RUN: llc -O0 -verify-machineinstrs -mtriple=aarch64-apple-ios -o - %s | FileCheck %s
3; RUN: llc -verify-machineinstrs -mtriple=arm64_32-apple-ios -o - %s | FileCheck %s
4; RUN: llc -O0 -verify-machineinstrs -mtriple=arm64_32-apple-ios -o - %s | FileCheck %s
5
6; CHECK: t1
7; CHECK: fadd s0, s0, s1
8; CHECK: ret
9define swiftcc float @t1(float %a, float %b) {
10entry:
11  %add = fadd float %a, %b
12  ret float %add
13}
14