; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve2p3 -enable-subreg-liveness -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sme2p3 -force-streaming -verify-machineinstrs < %s | FileCheck %s ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sme,+sve2p3 -force-streaming -verify-machineinstrs < %s | FileCheck %s define @test_subp_i8( %pg, %zn, %zm) { ; CHECK-LABEL: test_subp_i8: ; CHECK: // %bb.0: ; CHECK-NEXT: subp z0.b, p0/m, z0.b, z1.b ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.subp.nxv16i8( %pg, %zn, %zm) ret %res } define @test_subp_i16( %pg, %zn, %zm) { ; CHECK-LABEL: test_subp_i16: ; CHECK: // %bb.0: ; CHECK-NEXT: subp z0.h, p0/m, z0.h, z1.h ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.subp.nxv8i16( %pg, %zn, %zm) ret %res } define @test_subp_i32( %pg, %zn, %zm) { ; CHECK-LABEL: test_subp_i32: ; CHECK: // %bb.0: ; CHECK-NEXT: subp z0.s, p0/m, z0.s, z1.s ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.subp.nxv4i32( %pg, %zn, %zm) ret %res } define @test_subp_i64( %pg, %zn, %zm) { ; CHECK-LABEL: test_subp_i64: ; CHECK: // %bb.0: ; CHECK-NEXT: subp z0.d, p0/m, z0.d, z1.d ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.subp.nxv2i64( %pg, %zn, %zm) ret %res }