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