[AArch64][SVE] Add the @llvm.aarch64.sve.dup.x intrinsic
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 10 Mar 2020 09:40:49 +0000 (09:40 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Fri, 13 Mar 2020 12:40:22 +0000 (12:40 +0000)
commita0c15ed46056a5c8bc6f86d6d636b6375354efc6
tree9824fa29b786439c660912bc77e2b5030506eeee
parent28ad9fc20823678881baa0d723834b88ea9e8e3a
[AArch64][SVE] Add the @llvm.aarch64.sve.dup.x intrinsic

Summary:
This intrinsic implements the unpredicated duplication of scalar values
and is mapped to (through ISD::SPLAT_VECTOR):
  * DUP <Zd>.<T>, #<imm>
  * DUP <Zd>.<T>, <R><n|SP>

Reviewed by: sdesmalen

Differential Revision: https://reviews.llvm.org/D75900
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll [new file with mode: 0644]