[PATCH] D159265: [AArch64] Remove copy instruction between uaddlv and urshr

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 01:45:37 PDT 2023


jaykang10 added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:23159
+  SDValue UADDLV = EXTRACT_VEC_ELT.getOperand(0);
+  if (UADDLV.getOpcode() != AArch64ISD::UADDLV ||
+      UADDLV.getValueType() != MVT::v4i32 ||
----------------
efriedma wrote:
> I think we should be able to generalize this to other operations that only produce a result in the low element, but I guess we can leave that for a followup.
Yep, let's check it with other patch.


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

https://reviews.llvm.org/D159265



More information about the llvm-commits mailing list