1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc --mtriple=loongarch64 --mattr=+lsx < %s | FileCheck %s
4 declare <4 x float> @llvm.loongarch.lsx.vfcvtl.s.h(<8 x i16>)
6 define <4 x float> @lsx_vfcvtl_s_h(<8 x i16> %va) nounwind {
7 ; CHECK-LABEL: lsx_vfcvtl_s_h:
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: vfcvtl.s.h $vr0, $vr0
12 %res = call <4 x float> @llvm.loongarch.lsx.vfcvtl.s.h(<8 x i16> %va)
16 declare <2 x double> @llvm.loongarch.lsx.vfcvtl.d.s(<4 x float>)
18 define <2 x double> @lsx_vfcvtl_d_s(<4 x float> %va) nounwind {
19 ; CHECK-LABEL: lsx_vfcvtl_d_s:
20 ; CHECK: # %bb.0: # %entry
21 ; CHECK-NEXT: vfcvtl.d.s $vr0, $vr0
24 %res = call <2 x double> @llvm.loongarch.lsx.vfcvtl.d.s(<4 x float> %va)