[PATCH] D133355: [AArch64] Sink splat(s/zext(..)) to uses

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 07:01:27 PDT 2022


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

If the Shuffle is a splat and the operand is a zext/sext, sinking the operand and the s/zext can help create indexed s/umull. This is especially useful to prevent i64 mul being scalarized.


https://reviews.llvm.org/D133355

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/aarch64-matrix-umull-smull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133355.458164.patch
Type: text/x-patch
Size: 5672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220906/096d464f/attachment.bin>


More information about the llvm-commits mailing list