[PATCH] D104042: [AArch64] Improve SAD pattern
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 14 06:33:26 PDT 2021
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
Thanks. LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:12073-12074
+ // Third, create the node of UADDLP.
+ SDValue UADDLPOp0 = UABAL;
+ SDValue UADDLP = DAG.getNode(AArch64ISD::UADDLP, DL, MVT::v4i32, UADDLPOp0);
+
----------------
Just use UABAL directly? It would seem simpler that way. Same for the other SDValues in this function, which seem to be copied more than they need to be.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104042/new/
https://reviews.llvm.org/D104042
More information about the llvm-commits
mailing list