[PowerPC] Provide MMA builtins for compatibility
authorAhsan Saghir <saghir@ca.ibm.com>
Tue, 4 May 2021 13:57:27 +0000 (08:57 -0500)
committerAhsan Saghir <saghir@ca.ibm.com>
Fri, 7 May 2021 14:10:16 +0000 (09:10 -0500)
commit25bbff632d018d178272a61c0732203d53d3a2e3
treeba07e5760b050888a0cf58338821409e30b433b0
parent34de155f7e335e9e69276356565dcc31ed7d8535
[PowerPC] Provide MMA builtins for compatibility

Vector pair intrinsics and builtins were renamed in
https://reviews.llvm.org/D91974 to replace the _mma_ prefix by _vsx_.
However, some projects used the _mma_ version, so this patch adds
these intrinsics to provide compatibility.

Fixes Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=50159

Reviewed By: nemanjai, amyk

Differential Revision: https://reviews.llvm.org/D100482
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/builtins-ppc-pair-mma.c