; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve2 < %s 2>%t | FileCheck %s ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it. ; WARN-NOT: warning ; ; FCVTLT ; define @fcvtlt_f32_f16( %a, %pg, %b) { ; CHECK-LABEL: fcvtlt_f32_f16: ; CHECK: fcvtlt z0.s, p0/m, z1.h ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtlt.f32f16( %a, %pg, %b) ret %out } define @fcvtlt_f64_f32( %a, %pg, %b) { ; CHECK-LABEL: fcvtlt_f64_f32: ; CHECK: fcvtlt z0.d, p0/m, z1.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtlt.f64f32( %a, %pg, %b) ret %out } ; ; FCVTNT ; define @fcvtnt_f16_f32( %a, %pg, %b) { ; CHECK-LABEL: fcvtnt_f16_f32: ; CHECK: fcvtnt z0.h, p0/m, z1.s ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtnt.f16f32( %a, %pg, %b) ret %out } define @fcvtnt_f32_f64( %a, %pg, %b) { ; CHECK-LABEL: fcvtnt_f32_f64: ; CHECK: fcvtnt z0.s, p0/m, z1.d ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtnt.f32f64( %a, %pg, %b) ret %out } ; ; FCVTX ; define @fcvtx_f32_f64( %a, %pg, %b) { ; CHECK-LABEL: fcvtx_f32_f64: ; CHECK: fcvtx z0.s, p0/m, z1.d ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtx.f32f64( %a, %pg, %b) ret %out } ; ; FCVTXNT ; define @fcvtxnt_f32_f64( %a, %pg, %b) { ; CHECK-LABEL: fcvtxnt_f32_f64: ; CHECK: fcvtxnt z0.s, p0/m, z1.d ; CHECK-NEXT: ret %out = call @llvm.aarch64.sve.fcvtxnt.f32f64( %a, %pg, %b) ret %out } declare @llvm.aarch64.sve.fcvtlt.f32f16(, , ) declare @llvm.aarch64.sve.fcvtlt.f64f32(, , ) declare @llvm.aarch64.sve.fcvtnt.f16f32(, , ) declare @llvm.aarch64.sve.fcvtnt.f32f64(, , ) declare @llvm.aarch64.sve.fcvtx.f32f64(, , ) declare @llvm.aarch64.sve.fcvtxnt.f32f64(, , )