[PowerPC] Implement the 128-bit vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins...
authorAmy Kwan <amy.kwan1@ibm.com>
Wed, 23 Sep 2020 20:46:54 +0000 (16:46 -0400)
committerAlbion Fung <conanap@lep82435v.canlab.ibm.com>
Wed, 23 Sep 2020 20:49:40 +0000 (16:49 -0400)
commit2e7117f847708d2fd1ff2d2961c3439470532b80
treeb0cc4e8d53a30cf7a8828ed719f260d1f6fbc2d1
parent88cdbeab417cc716d1da2de2a508d24622f4a4bc
[PowerPC] Implement the 128-bit vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins in Clang/LLVM

This patch implements the vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins for vector signed/unsigned __int128.

Differential Revision: https://reviews.llvm.org/D87910
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p10vector.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/vec_cmpq.ll