; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+f64mm -asm-verbose=0 < %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 ; ; LD1ROB ; define @ld1rob_i8( %pred, i8* %addr) nounwind { ; CHECK-LABEL: ld1rob_i8: ; CHECK-NEXT: ld1rob { z0.b }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv16i8( %pred, i8* %addr) ret %res } ; ; LD1ROH ; define @ld1roh_i16( %pred, i16* %addr) nounwind { ; CHECK-LABEL: ld1roh_i16: ; CHECK-NEXT: ld1roh { z0.h }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv8i16( %pred, i16* %addr) ret %res } define @ld1roh_half( %pred, half* %addr) nounwind { ; CHECK-LABEL: ld1roh_half: ; CHECK-NEXT: ld1roh { z0.h }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv8f16( %pred, half* %addr) ret %res } ; ; LD1ROW ; define @ld1row_i32( %pred, i32* %addr) nounwind { ; CHECK-LABEL: ld1row_i32: ; CHECK-NEXT: ld1row { z0.s }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv4i32( %pred, i32* %addr) ret %res } define @ld1row_float( %pred, float* %addr) nounwind { ; CHECK-LABEL: ld1row_float: ; CHECK-NEXT: ld1row { z0.s }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv4f32( %pred, float* %addr) ret %res } ; ; LD1ROD ; define @ld1rod_i64( %pred, i64* %addr) nounwind { ; CHECK-LABEL: ld1rod_i64: ; CHECK-NEXT: ld1rod { z0.d }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv2i64( %pred, i64* %addr) ret %res } define @ld1rod_double( %pred, double* %addr) nounwind { ; CHECK-LABEL: ld1rod_double: ; CHECK-NEXT: ld1rod { z0.d }, p0/z, [x0] ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.ld1ro.nxv2f64( %pred, double* %addr) ret %res } declare @llvm.aarch64.sve.ld1ro.nxv16i8(, i8*) declare @llvm.aarch64.sve.ld1ro.nxv8i16(, i16*) declare @llvm.aarch64.sve.ld1ro.nxv8f16(, half*) declare @llvm.aarch64.sve.ld1ro.nxv4i32(, i32*) declare @llvm.aarch64.sve.ld1ro.nxv4f32(, float*) declare @llvm.aarch64.sve.ld1ro.nxv2i64(, i64*) declare @llvm.aarch64.sve.ld1ro.nxv2f64(, double*)