[PATCH] D130061: [AArch64] Add a tablegen pattern for UZP2.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 00:32:34 PDT 2022


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

Looks good. Can we remove the complexity from the new patterns? If so LGTM.



================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:5418
+// Prioritize ADDHN and SUBHN over UZP2.
+let AddedComplexity = 10 in {
+def : Pat<(v16i8 (concat_vectors
----------------
Are these added complexities needed, or is it enough to put it on the ADDHN/SUBHN?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130061



More information about the llvm-commits mailing list