1 ; RUN: llc < %s -march=arm64 -arm64-neon-syntax=apple | FileCheck %s
3 define <2 x double> @f1(<2 x i32> %v) nounwind readnone {
5 ; CHECK: sshll.2d v0, v0, #0
6 ; CHECK-NEXT: scvtf.2d v0, v0
8 %conv = sitofp <2 x i32> %v to <2 x double>
11 define <2 x double> @f2(<2 x i32> %v) nounwind readnone {
13 ; CHECK: ushll.2d v0, v0, #0
14 ; CHECK-NEXT: ucvtf.2d v0, v0
16 %conv = uitofp <2 x i32> %v to <2 x double>
17 ret <2 x double> %conv
20 ; CHECK: autogen_SD19655
23 define void @autogen_SD19655() {
24 %T = load <2 x i64>* undef
25 %F = sitofp <2 x i64> undef to <2 x float>
26 store <2 x float> %F, <2 x float>* undef