[clang] [llvm] [AArch64] Implement intrinsics for FMLAL/FMLALL (single) (PR #119568)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 03:51:17 PST 2024


================
@@ -2180,10 +2191,11 @@ multiclass sme2_int_mla_long_array_vg2_single<string mnemonic, bits<2> op, SDPat
 
 multiclass sme2_fp_mla_long_array_vg4_single<string mnemonic, bits<3> op, MatrixOperand matrix_ty,
                                              RegisterOperand multi_vector_ty, ZPRRegOp vector_ty,
-                                             ValueType zpr_ty, SDPatternOperator intrinsic> {
+                                             ValueType zpr_ty, SDPatternOperator intrinsic, list<Register> uses=[]> {
----------------
Lukacma wrote:

Instead of adding uses as extra argument, I think it would be better to use:
`let Uses = [FPMR, FPCR] in {
...intrinsics
}`

https://github.com/llvm/llvm-project/pull/119568


More information about the llvm-commits mailing list