[PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang
authorAmy Kwan <amy.kwan1@ibm.com>
Mon, 13 Jul 2020 22:37:02 +0000 (17:37 -0500)
committerAmy Kwan <amy.kwan1@ibm.com>
Tue, 14 Jul 2020 03:47:47 +0000 (22:47 -0500)
commit62f5ba624bfba5ccf4446737ad2bfb1fc013b376
tree413eda0603b1e6b858d0a8676a75439c31e84cb6
parent64eb3a4915f00cca9af4c305a9ff36209003cd7b
[PowerPC][Power10] Implement Test LSB by Byte Builtins in LLVM/Clang

This patch implements builtins for the Test LSB by Byte instruction introduced
in Power10.

Differential Revision: https://reviews.llvm.org/D82431
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/builtins-ppc-p10vsx.ll [new file with mode: 0644]