[SVE] Add isel for 32-bit add/sub(cntp()) -> incp/decp.
authorPaul Walker <paul.walker@arm.com>
Mon, 3 Jul 2023 14:00:15 +0000 (15:00 +0100)
committerPaul Walker <paul.walker@arm.com>
Thu, 6 Jul 2023 14:25:18 +0000 (14:25 +0000)
commit90b83a6d6caa651ea32987c94955ed18fffcb40c
tree0e835770c57b44185385d09fdd7090d1089078a0
parentd6e9efab8121cca270824546162b923767a8b1f1
[SVE] Add isel for 32-bit add/sub(cntp()) -> incp/decp.

Patterns already exist for 64-bit that I've simply copied and
converted to include the necessary truncation.

Differential Revision: https://reviews.llvm.org/D154350
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-cntp-combine-i32.ll