[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations
authorDanilo Carvalho Grael <danilo.carvalho.grael@huawei.com>
Fri, 21 Feb 2020 16:59:52 +0000 (11:59 -0500)
committerDanilo Carvalho Grael <danilo.carvalho.grael@huawei.com>
Fri, 21 Feb 2020 17:15:51 +0000 (12:15 -0500)
commitdb9c40f5624e6d55e0cbafe3f3980a7223e197c4
tree50132171943121e69b04921f755b7077b6ef9a43
parentfc4455891c00bfa16c85d0cebe6158fafe11667d
[AArch64][SVE] Add intrinsics for SVE2 bitwise ternary operations

Summary:
Add intrinsics for the following operations:
- eor3, bcax
- bsl, bsl1n, bsl2n, nbsl

Fix MC tests for bsl instructions.

Reviewers: kmclaughlin, c-rhodes, sdesmalen, efriedma, rengolin

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74785
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve2-bitwise-ternary.ll [new file with mode: 0644]
llvm/test/MC/AArch64/SVE2/bsl-diagnostics.s
llvm/test/MC/AArch64/SVE2/bsl1n-diagnostics.s
llvm/test/MC/AArch64/SVE2/bsl2n-diagnostics.s
llvm/test/MC/AArch64/SVE2/nbsl-diagnostics.s