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

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 00:25:00 PDT 2022


labrinea created this revision.
labrinea added reviewers: dmgreen, lebedev.ri, alexreinking.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
labrinea requested review of this revision.
Herald added a project: LLVM.

Converts concat_vectors((trunc (lshr)), (trunc (lshr))) to UZP2 when the shift amount is half the width of the vector element.

Relands rGada028c32f47 <https://reviews.llvm.org/rGada028c32f47ca84a0b7be5d1ab4e3c943f859a3> with a fix for https://github.com/llvm/llvm-project/issues/52919


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130061

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/arm64-uzp2-combine.ll
  llvm/test/CodeGen/AArch64/arm64-vadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130061.445710.patch
Type: text/x-patch
Size: 5715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/92559cdb/attachment.bin>


More information about the llvm-commits mailing list