[PowerPC] MMA - Add __builtin_vsx_build_pair and __builtin_mma_build_acc builtins
authorAhsan Saghir <saghir@ca.ibm.com>
Mon, 13 Sep 2021 01:19:41 +0000 (20:19 -0500)
committerAhsan Saghir <saghir@ca.ibm.com>
Tue, 28 Sep 2021 00:51:28 +0000 (19:51 -0500)
commit593b074a096c542c6753916caa754f321a111f21
treeca7b574d9ba9035ddd7afc22c359425519dc3208
parent21a06254a3acb162b61a3452bdc939276290723b
[PowerPC] MMA - Add __builtin_vsx_build_pair and __builtin_mma_build_acc builtins

This patch adds the following built-ins:

__builtin_vsx_build_pair
__builtin_mma_build_acc

Reviewed By: #powerpc, nemanjai, lei

Differential Revision: https://reviews.llvm.org/D107647
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/builtins-ppc-build-pair-mma.c [new file with mode: 0644]
clang/test/Sema/ppc-pair-mma-types.c
clang/test/SemaCXX/ppc-pair-mma-types.cpp