[PATCH] D91255: [AArch64] Rearrange mul(dup(sext/zext)) to mul(sext/zext(dup))
Nicholas Guy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 07:48:10 PST 2020
NickGuy updated this revision to Diff 308966.
NickGuy marked 6 inline comments as done.
NickGuy retitled this revision from "[AArch64] Rearrange (dup(sext/zext)) to (sext/zext(dup))" to "[AArch64] Rearrange mul(dup(sext/zext)) to mul(sext/zext(dup))".
NickGuy added a comment.
Addressed comments, and changed to be more targeted. The rearrangement will only be performed if the pattern feeds into a mul instruction, and only if the type combination is valid for smull/umull folding.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91255/new/
https://reviews.llvm.org/D91255
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/aarch64-dup-ext-scalable.ll
llvm/test/CodeGen/AArch64/aarch64-dup-ext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91255.308966.patch
Type: text/x-patch
Size: 36903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/bfa33ab0/attachment.bin>
More information about the llvm-commits
mailing list