[llvm] [NFC][LLVM][SVE][ISel] Remove redundant type information from Pat targets. (PR #85409)

Kerry McLaughlin via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 09:52:47 PDT 2024


================
@@ -2521,9 +2517,9 @@ let Predicates = [HasSVEorSME] in {
               (ADDVL_XXI GPR64:$op, $imm)>;
 
     def : Pat<(add GPR32:$op, (i32 (trunc (vscale (sve_rdvl_imm i32:$imm))))),
-              (i32 (EXTRACT_SUBREG (ADDVL_XXI (INSERT_SUBREG (i64 (IMPLICIT_DEF)),
-                                             GPR32:$op, sub_32), $imm),
-                                   sub_32))>;
+              (EXTRACT_SUBREG (ADDVL_XXI (INSERT_SUBREG (i64 (IMPLICIT_DEF)),
----------------
kmclaughlin-arm wrote:

Can the i64 be removed for `IMPLICIT_DEF` here as it was for the pattern above?

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


More information about the llvm-commits mailing list