[PATCH] D130492: [AArch64][SVE] Add patterns to select mla/mls
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 08:31:44 PDT 2022
c-rhodes created this revision.
c-rhodes added reviewers: paulwalker-arm, bsmith, peterwaller-arm.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
c-rhodes requested review of this revision.
Herald added a project: LLVM.
Adds patterns for:
add(a, select(mask, mul(b, b), splat(0))) -> mla(a, mask, b, b)
sub(a, select(mask, mul(b, b), splat(0))) -> mls(a, mask, b, b)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130492
Files:
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-masked-int-arith.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130492.447354.patch
Type: text/x-patch
Size: 5965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220725/0aefb7a7/attachment.bin>
More information about the llvm-commits
mailing list