[PATCH] D128642: [AArch64][SVE] Use SVE for VLS fcopysign for wide vectors
David Truby via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 07:02:43 PDT 2022
DavidTruby created this revision.
Herald added subscribers: ctetreau, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
DavidTruby requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Currently fcopysign for VLS vectors lowers through NEON even when the
vector width is wider than a NEON vector, causing bad codegen as the
vectors are split. This patch causes SVE to be used for these vectors
instead, giving much better codegen on wide VLS vectors.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128642
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fixed-length-fcopysign.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128642.440205.patch
Type: text/x-patch
Size: 21933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220627/fa74b50c/attachment.bin>
More information about the llvm-commits
mailing list