================
@@ -257,6 +266,17 @@ class SME2_Tile_Movaz_Pat<string name, SDPatternOperator 
intrinsic, ValueType ou
     : Pat<(out_vt (intrinsic tile_imm:$tile, (i32 (tileslice 
MatrixIndexGPR32Op12_15:$base, index_ty:$offset)))),
           (!cast<Instruction>(name # _PSEUDO) $tile, $base, $offset)>;
 
+class SME2_ZA_Tile_TwoVec_Pat<string name, SDPatternOperator intrinsic, 
Operand imm_ty, ValueType vt>
+    : Pat<(intrinsic imm_ty:$tile, vt:$Zn, vt:$Zm),
+          (!cast<Instruction>(name # _PSEUDO) $tile, $Zn, $Zm)>;
+
+class SME2_ZA_Tile_Vec_Multi_Pat<string name, SDPatternOperator intrinsic, 
Operand imm_ty, ValueType vt>
----------------
Lukacma wrote:

With addition of the new pattern I think this should be renamed to make the 
distincion clearer.

```suggestion
class SME2_ZA_Tile_Vec_Single_Multi_Pat<string name, SDPatternOperator 
intrinsic, Operand imm_ty, ValueType vt>
```

https://github.com/llvm/llvm-project/pull/129226
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to