llvm.org GIT mirror llvm / a813b38 test / CodeGen / AArch64 / swiftcc.ll
a813b38

Tree @a813b38 (Download .tar.gz)

swiftcc.ll @a813b38raw · history · blame

; 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

; 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
}