[AArch64] Expand UADDLV patterns to SADDLV
authorDavid Green <david.green@arm.com>
Fri, 4 Feb 2022 14:07:02 +0000 (14:07 +0000)
committerDavid Green <david.green@arm.com>
Fri, 4 Feb 2022 14:07:02 +0000 (14:07 +0000)
commit74d1fe72f4f25188de8a13b0826d8382c210187c
tree97434a66c14dcc6383023e8862c02e8a2c66638c
parent36df803dfd3370b624122978a7d309d8b84da06e
[AArch64] Expand UADDLV patterns to SADDLV

We already had some patterns for UADDV(UADDLP(x)) -> UADDLV(x), this
simply expands them to the signed instructions by re-using the tablegen
patterns.

Differential Revision: https://reviews.llvm.org/D118133
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/neon-addlv.ll
llvm/test/CodeGen/AArch64/vecreduce-add.ll