[PATCH] D159267: [AArch64] Remove copy instruction between uaddlv and dup

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 21:02:43 PDT 2023


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:5322
+    EVT ResVT = Op.getValueType();
+    if (ResVT == MVT::i32 && (OpVT == MVT::v8i8 || OpVT == MVT::v16i8)) {
+      // In order to avoid insert_subvector, used v4i32 than v2i32.
----------------
This could be extended to i16 uaddlv as well, but we can leave that for a followup, I guess.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159267/new/

https://reviews.llvm.org/D159267



More information about the llvm-commits mailing list