1 ; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s
3 define <4 x float> @foo(<4 x i16> %a) nounwind {
5 ; CHECK: ushll.4s v0, v0, #0
6 ; CHECK-NEXT: ucvtf.4s v0, v0
8 %vcvt.i = uitofp <4 x i16> %a to <4 x float>
9 ret <4 x float> %vcvt.i
12 define <4 x float> @bar(<4 x i16> %a) nounwind {
14 ; CHECK: sshll.4s v0, v0, #0
15 ; CHECK-NEXT: scvtf.4s v0, v0
17 %vcvt.i = sitofp <4 x i16> %a to <4 x float>
18 ret <4 x float> %vcvt.i