; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2 ; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve2p1,+bf16 < %s | FileCheck %s define @test_tbxq_i8 ( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_i8: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.b, z1.b, z2.b ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv16i8( %passthru, %zn, %zm) ret %res } define @test_tbxq_i16 ( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_i16: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.h, z1.h, z2.h ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv8i16( %passthru, %zn, %zm) ret %res } define @test_tbxq_i32 ( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_i32: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.s, z1.s, z2.s ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv4i32( %passthru, %zn, %zm) ret %res } define @test_tbxq_i64 ( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_i64: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.d, z1.d, z2.d ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv2i64( %passthru, %zn, %zm) ret %res } define @test_tblq_f16( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tblq_f16: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.h, z1.h, z2.h ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv8f16( %passthru, %zn, %zm) ret %res } define @test_tbxq_f32( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_f32: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.s, z1.s, z2.s ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv4f32( %passthru, %zn, %zm) ret %res } define @test_tbxq_f64( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_f64: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.d, z1.d, z2.d ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv2f64( %passthru, %zn, %zm) ret %res } define @test_tbxq_bf16( %passthru, %zn, %zm) { ; CHECK-LABEL: test_tbxq_bf16: ; CHECK: // %bb.0: ; CHECK-NEXT: tbxq z0.h, z1.h, z2.h ; CHECK-NEXT: ret %res = call @llvm.aarch64.sve.tbxq.nxv8bf16( %passthru, %zn, %zm) ret %res } declare @llvm.aarch64.sve.tbxq.nxv16i8(, , ) declare @llvm.aarch64.sve.tbxq.nxv8i16(, , ) declare @llvm.aarch64.sve.tbxq.nxv4i32(, , ) declare @llvm.aarch64.sve.tbxq.nxv2i64(, , ) declare @llvm.aarch64.sve.tbxq.nxv8f16(, , ) declare @llvm.aarch64.sve.tbxq.nxv4f32(, , ) declare @llvm.aarch64.sve.tbxq.nxv2f64(, , ) declare @llvm.aarch64.sve.tbxq.nxv8bf16(, , )