OSDN Git Service

[PowerPC] Implement Vector Blend Builtins in LLVM/Clang
authorBiplob Mishra <biplmish@in.ibm.com>
Thu, 2 Jul 2020 21:14:27 +0000 (16:14 -0500)
committerLei Huang <lei@ca.ibm.com>
Thu, 2 Jul 2020 21:52:52 +0000 (16:52 -0500)
commitca464639a1c9dd3944eb055ffd2796e8c2e7639f
treed0ad1e5bad6abd4b2c4a7cd57d11ef623beb23f4
parent0fd383e6566482cde8027f5db66ceca86823b771
[PowerPC] Implement Vector Blend Builtins in LLVM/Clang

Implements vec_blendv()

Differential Revision: https://reviews.llvm.org/D82774
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-p10permute.ll