2016-08-27 03:28:17 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=aarch64-apple-ios -o - %s | FileCheck %s
|
|
|
|
; RUN: llc -O0 -verify-machineinstrs -mtriple=aarch64-apple-ios -o - %s | FileCheck %s
|
2019-09-12 18:22:23 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=arm64_32-apple-ios -o - %s | FileCheck %s
|
|
|
|
; RUN: llc -O0 -verify-machineinstrs -mtriple=arm64_32-apple-ios -o - %s | FileCheck %s
|
2016-08-27 03:28:17 +08:00
|
|
|
|
|
|
|
; CHECK: t1
|
|
|
|
; CHECK: fadd s0, s0, s1
|
|
|
|
; CHECK: ret
|
|
|
|
define swiftcc float @t1(float %a, float %b) {
|
|
|
|
entry:
|
|
|
|
%add = fadd float %a, %b
|
|
|
|
ret float %add
|
|
|
|
}
|