[llvm] [AArch64] Remove copy instruction between uaddlv with v4i16/v8i16 and dup (PR #66508)

JinGu Kang via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 03:53:16 PDT 2023


================
@@ -6472,12 +6472,21 @@ def : Pat<(i32 (int_aarch64_neon_uaddlv (v8i16 (AArch64uaddlp (v16i8 V128:$op)))
             (v8i16 (SUBREG_TO_REG (i64 0), (UADDLVv16i8v V128:$op), hsub)),
             ssub))>;
 
+def : Pat<(v4i32 (AArch64uaddlv (v8i16 (AArch64uaddlp (v16i8 V128:$op))))),
----------------
jaykang10 wrote:

Yep, let me add the pattern.

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


More information about the llvm-commits mailing list