[PATCH] D119424: [AArch64][SVE] Invert VSelect operand order and condition for predicated arithmetic operations
Matt Devereau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 10 03:37:35 PST 2022
MattDevereau created this revision.
MattDevereau added reviewers: peterwaller-arm, paulwalker-arm, bsmith, DavidTruby, david-arm.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
MattDevereau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
(vselect (p) (a) (op (a) (b))) => (vselect (!p) (op (a) (b)) (a))
As a follow up to D117689 <https://reviews.llvm.org/D117689>, invert the operand order and condition for (vselect (p) (a) (op (a) (b))) in order to fold vselects into predicated instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119424
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fp-reciprocal.ll
llvm/test/CodeGen/AArch64/sve-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119424.407458.patch
Type: text/x-patch
Size: 7621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220210/838dba65/attachment.bin>
More information about the llvm-commits
mailing list