Skip to content

Commit 04da1d8

Browse files
committed
separate out SME_LDR_STR_Intrinsic as its now used by zt ldr/str
1 parent 4b7d0c8 commit 04da1d8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

llvm/include/llvm/IR/IntrinsicsAArch64.td

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2679,10 +2679,10 @@ let TargetPrefix = "aarch64" in {
26792679
def int_aarch64_sme_st1q_vert : SME_Load_Store_Intrinsic<llvm_nxv1i1_ty>;
26802680

26812681
// Spill + fill
2682-
class SME_LDR_STR_Intrinsic
2682+
class SME_LDR_STR_ZA_Intrinsic
26832683
: DefaultAttrsIntrinsic<[], [llvm_i32_ty, llvm_ptr_ty, llvm_i32_ty]>;
2684-
def int_aarch64_sme_ldr : SME_LDR_STR_Intrinsic;
2685-
def int_aarch64_sme_str : SME_LDR_STR_Intrinsic;
2684+
def int_aarch64_sme_ldr : SME_LDR_STR_ZA_Intrinsic;
2685+
def int_aarch64_sme_str : SME_LDR_STR_ZA_Intrinsic;
26862686

26872687
class SME_TileToVector_Intrinsic
26882688
: DefaultAttrsIntrinsic<[llvm_anyvector_ty],
@@ -3454,4 +3454,9 @@ let TargetPrefix = "aarch64" in {
34543454
def int_aarch64_sve_sel_x2 : SVE2_VG2_Sel_Intrinsic;
34553455
def int_aarch64_sve_sel_x4 : SVE2_VG4_Sel_Intrinsic;
34563456

3457+
class SME_LDR_STR_ZT_Intrinsic
3458+
: DefaultAttrsIntrinsic<[], [llvm_i32_ty, llvm_ptr_ty]>;
3459+
def int_aarch64_sme_ldr_zt : SME_LDR_STR_ZT_Intrinsic;
3460+
def int_aarch64_sme_str_zt : SME_LDR_STR_ZT_Intrinsic;
3461+
34573462
}

0 commit comments

Comments
 (0)