[llvm][CodeGen] IR intrinsics for SVE2 contiguous conflict detection instructions.
authorFrancesco Petrogalli <francesco.petrogalli@arm.com>
Wed, 11 Mar 2020 18:25:29 +0000 (18:25 +0000)
committerFrancesco Petrogalli <francesco.petrogalli@arm.com>
Wed, 11 Mar 2020 18:28:02 +0000 (18:28 +0000)
commit4dde9e9b023f701316fa002a0adcfe635803c9b8
treebfe290c1a59765dca06c7fb0b4415ba902240545
parent9801e5469b4e4cbf93b80eb57f8dfeabf65f6714
[llvm][CodeGen] IR intrinsics for SVE2 contiguous conflict detection instructions.

Summary:
The IR intrinsics are mapped to the following SVE2 instructions:

* WHILERW <Pd>.<T>, <Xn>, <Xm>
* WHILEWR <Pd>.<T>, <Xn>, <Xm>

The intrinsics introduced in this patch are the IR counterpart of the
SVE ACLE functions `svwhilerw` and `svwhilewr` (all data type
variants).

Patch by Maciej Gąbka <maciej.gabka@arm.com>.

Reviewers: kmclaughlin, rengolin

Reviewed By: kmclaughlin

Subscribers: tschuett, kristof.beyls, hiraditya, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75862
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve2-intrinsics-contiguous-conflict-detection.ll [new file with mode: 0644]