2016-07-19 21:35:11 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
|
2014-03-29 18:18:08 +08:00
|
|
|
|
|
|
|
define float @fcvtxn(double %a) {
|
|
|
|
; CHECK-LABEL: fcvtxn:
|
|
|
|
; CHECK: fcvtxn s0, d0
|
|
|
|
; CHECK-NEXT: ret
|
2014-05-24 20:50:23 +08:00
|
|
|
%vcvtxd.i = tail call float @llvm.aarch64.sisd.fcvtxn(double %a) nounwind
|
2014-03-29 18:18:08 +08:00
|
|
|
ret float %vcvtxd.i
|
|
|
|
}
|
|
|
|
|
2014-05-24 20:50:23 +08:00
|
|
|
declare float @llvm.aarch64.sisd.fcvtxn(double) nounwind readnone
|