aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ASTCommon.cpp
diff options
context:
space:
mode:
authorBaptiste Saleil <baptiste.saleil@ibm.com>2020-12-15 15:08:09 -0600
committerBaptiste Saleil <baptiste.saleil@ibm.com>2020-12-15 15:14:11 -0600
commit57d83c3a90c427ad0975803feb5b348d1ad34e29 (patch)
tree718c5a10a5336d5cb705f65e97475a4bd1b5bbae /clang/lib/Serialization/ASTCommon.cpp
parentdfac97d557690dd4b1f2fab798680234b238d11f (diff)
downloadllvm-57d83c3a90c427ad0975803feb5b348d1ad34e29.zip
llvm-57d83c3a90c427ad0975803feb5b348d1ad34e29.tar.gz
llvm-57d83c3a90c427ad0975803feb5b348d1ad34e29.tar.bz2
[PowerPC] Enable paired vector type and intrinsics when MMA is disabled
This patch enables the Clang type __vector_pair and its associated LLVM intrinsics even when MMA is disabled. With this patch, the type is now controlled by the PPC paired-vector-memops option. The builtins and intrinsics will be renamed to drop the mma prefix in another patch. Differential Revision: https://reviews.llvm.org/D91819
Diffstat (limited to 'clang/lib/Serialization/ASTCommon.cpp')
-rw-r--r--clang/lib/Serialization/ASTCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTCommon.cpp b/clang/lib/Serialization/ASTCommon.cpp
index f1a02ad..fec6dd5 100644
--- a/clang/lib/Serialization/ASTCommon.cpp
+++ b/clang/lib/Serialization/ASTCommon.cpp
@@ -237,7 +237,7 @@ serialization::TypeIdxFromBuiltin(const BuiltinType *BT) {
ID = PREDEF_TYPE_##Id##_ID; \
break;
#include "clang/Basic/AArch64SVEACLETypes.def"
-#define PPC_MMA_VECTOR_TYPE(Name, Id, Size) \
+#define PPC_VECTOR_TYPE(Name, Id, Size) \
case BuiltinType::Id: \
ID = PREDEF_TYPE_##Id##_ID; \
break;