[AArch64][SME] Add SVE2 instructions added in SME
authorCullen Rhodes <cullen.rhodes@arm.com>
Mon, 19 Jul 2021 07:40:04 +0000 (07:40 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Mon, 19 Jul 2021 08:03:05 +0000 (08:03 +0000)
commitf91eaa7007877063b683f83c305fca750d746d83
tree2aac31eda5ee73364ab80f4d7cee50edeb29f982
parenteb1e95dbdf2b4ffe94259199d0970d072fe24959
[AArch64][SME] Add SVE2 instructions added in SME

This patch adds support for the following instructions:

    SCLAMP, UCLAMP, REV, DUP (predicate)

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2021-06

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D105577
llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/SMEInstrFormats.td
llvm/test/MC/AArch64/SME/dup-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/dup.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/revd-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/revd.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/sclamp-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/sclamp.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/uclamp-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SME/uclamp.s [new file with mode: 0644]