[PATCH] D137726: [AArch64] Allow sinking both extract and splat to smull

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 10:14:20 PST 2022


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

We currently will sink either a splat or two extracts to a smull/umull. There can be cases where we have both one operand as an extract and one as a splat. This alters the areExtractShuffleVectors method to account for that case.


https://reviews.llvm.org/D137726

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sinksplat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137726.474301.patch
Type: text/x-patch
Size: 4617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/87211ecb/attachment.bin>


More information about the llvm-commits mailing list