[PATCH] D148248: [AArch64][SVE] Generate smull/umull instead of sve v2i64 mul

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 09:34:51 PDT 2023


dmgreen created this revision.
dmgreen added reviewers: sdesmalen, david-arm, paulwalker-arm, efriedma, dtemirbulatov, SjoerdMeijer.
Herald added subscribers: ctetreau, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

A neon smull/umull should be preferred over a sve v2i64 mul with two extends.  It will be both less instructions and a lower cost multiply instruction.


https://reviews.llvm.org/D148248

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-mull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148248.513280.patch
Type: text/x-patch
Size: 4114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/c062aa4f/attachment.bin>


More information about the llvm-commits mailing list