[PATCH] D112994: [AArch64] Sink splat shuffles to lane index intrinsics

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 02:30:42 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: NickGuy, SjoerdMeijer, fhahn, samtebbs.
Herald added subscribers: arphaman, hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This teaches AArch64TargetLowering::shouldSinkOperands to sink splat shuffles to certain neon intrinsics, so that they can make use of the lane variants of the instructions that are available.


https://reviews.llvm.org/D112994

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sinksplat.ll
  llvm/test/Transforms/CodeGenPrepare/AArch64/sink-free-instructions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112994.384004.patch
Type: text/x-patch
Size: 8211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/80e5fe0f/attachment-0001.bin>


More information about the llvm-commits mailing list