[PowerPC] Implement Move to VSR Mask builtins in LLVM/Clang
authorAmy Kwan <amy.kwan1@ibm.com>
Fri, 18 Sep 2020 22:38:08 +0000 (17:38 -0500)
committerAmy Kwan <amy.kwan1@ibm.com>
Fri, 18 Sep 2020 23:16:14 +0000 (18:16 -0500)
commit37e7673c21af1531b601ca975cb6118d04b6e1cc
tree413c8c815f9eb9eb892cffce5b50aed01556cfbd
parent51b75b87dbbed24b9c0a809f7e4d22b31923630d
[PowerPC] Implement Move to VSR Mask builtins in LLVM/Clang

This patch implements the vec_gen[b|h|w|d|q]m function prototypes in altivec.h
in order to utilize the move to VSR with mask instructions introduced in Power10.

Differential Revision: https://reviews.llvm.org/D82725
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p10vector.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/p10-vector-mask-ops.ll