1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/ARM64/vcvtxd_f32_f64.ll

12 lines
306 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=arm64 | FileCheck %s
define float @fcvtxn(double %a) {
; CHECK-LABEL: fcvtxn:
; CHECK: fcvtxn s0, d0
; CHECK-NEXT: ret
%vcvtxd.i = tail call float @llvm.arm64.sisd.fcvtxn(double %a) nounwind
ret float %vcvtxd.i
}
declare float @llvm.arm64.sisd.fcvtxn(double) nounwind readnone