[llvm] [AArch64] Improve lowering of truncating uzp1 (PR #82457)

Usman Nadeem via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 20:57:46 PST 2024


================
@@ -6125,6 +6125,15 @@ def : Pat<(v8i16 (concat_vectors (v4i16 (assertzext (trunc (v4i32 V128:$Vn)))),
 def : Pat<(v4i32 (concat_vectors (v2i32 (assertzext (trunc (v2i64 V128:$Vn)))),
                                  (v2i32 (assertzext (trunc (v2i64 V128:$Vm)))))),
           (UZP1v4i32 V128:$Vn, V128:$Vm)>;
+def : Pat<(v16i8 (concat_vectors (v8i8 (assertsext (trunc (v8i16 V128:$Vn)))),
----------------
UsmanNadeem wrote:

I uploaded a new commit to this PR, the current version will no longer get rid of those nodes.

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


More information about the llvm-commits mailing list