[PATCH] D149636: [AArch64] Combine concat through rshrn

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 01:32:10 PDT 2023


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, jaykang10, bipmis.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This tries to push the concat in `trunc(concat(rshr, rshr))` into the leaves, so that we can generate `rshrn(concat)`. This helps improve the codegen for small types, using the existing rshrn patterns.


https://reviews.llvm.org/D149636

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/neon-rshrn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149636.518644.patch
Type: text/x-patch
Size: 4602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230502/19fd0bbd/attachment.bin>


More information about the llvm-commits mailing list