[llvm] [LLVM][AArch64][tblgen]: Match clamp pattern (PR #75529)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 10:04:52 PST 2023
================
@@ -470,6 +470,12 @@ class SVE_2_Op_Pred_All_Active<ValueType vtd, SDPatternOperator op,
: Pat<(vtd (op (pt (SVEAllActive)), vt1:$Op1, vt2:$Op2)),
(inst $Op1, $Op2)>;
+class SVE_3_Op_Pred_All_Active<ValueType vtd, SDPatternOperator op,
+ ValueType vt1, ValueType pt, ValueType vt2,
+ ValueType vt3, Instruction inst>
+: Pat<(vtd (op (pt (SVEAllActive)), vt1:$Op1, vt2:$Op2, vt3:$Op3)),
+ (inst $Op1, $Op2, $Op3)>;
+
----------------
paulwalker-arm wrote:
This class is no longer required and can be removed?
https://github.com/llvm/llvm-project/pull/75529
More information about the llvm-commits
mailing list