[AArch64] Fix bug in prolog clobbering live reg when shrink wrapping.
[oota-llvm.git] / test / CodeGen / AArch64 / arm64-vcvtxd_f32_f64.ll
1 ; RUN: llc < %s -march=arm64 | FileCheck %s
2
3 define float @fcvtxn(double %a) {
4 ; CHECK-LABEL: fcvtxn:
5 ; CHECK: fcvtxn s0, d0
6 ; CHECK-NEXT: ret
7   %vcvtxd.i = tail call float @llvm.aarch64.sisd.fcvtxn(double %a) nounwind
8   ret float %vcvtxd.i
9 }
10
11 declare float @llvm.aarch64.sisd.fcvtxn(double) nounwind readnone